mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
990096f904
We were using `number` instead of `u32` which caused it to be serialized to string with a decimal, which then would be rejected by lightningd. Changelog-Fixed: proto: Fixed a wrong number type being used in routes
47 lines
782 B
JSON
47 lines
782 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"required": [
|
|
"id",
|
|
"amount_msat",
|
|
"riskfactor"
|
|
],
|
|
"properties": {
|
|
"id": {
|
|
"type": "pubkey",
|
|
"description": ""
|
|
},
|
|
"amount_msat": {
|
|
"type": "msat",
|
|
"description": ""
|
|
},
|
|
"riskfactor": {
|
|
"type": "u64",
|
|
"description": ""
|
|
},
|
|
"cltv": {
|
|
"type": "u32",
|
|
"description": ""
|
|
},
|
|
"fromid": {
|
|
"type": "pubkey",
|
|
"description": ""
|
|
},
|
|
"fuzzpercent": {
|
|
"type": "u32",
|
|
"description": ""
|
|
},
|
|
"exclude": {
|
|
"type": "array",
|
|
"description": "",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"maxhops": {
|
|
"type": "u32",
|
|
"description": ""
|
|
}
|
|
}
|
|
}
|