schema: Fix wrong type of CLTV in route

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
This commit is contained in:
Christian Decker 2023-08-31 11:55:14 +02:00 committed by Rusty Russell
parent 5a4e6ec7e0
commit 990096f904
6 changed files with 3 additions and 3 deletions

2
.gitattributes vendored
View File

@ -17,4 +17,4 @@ statements_gettextgen.po linguist-generated=true
cln-grpc/proto/node.proto -text -diff linguist-generated=true
cln-grpc/src/convert.rs -text -diff linguist-generated=true
cln-rpc/src/model.rs -text -diff linguist-generated=true
contrib/pyln-testing/pyln/testing/node_pb2.py linguist-generated=true
contrib/pyln-testing/pyln/testing/node_pb2.py -text -diff linguist-generated=true

Binary file not shown.

BIN
cln-grpc/src/convert.rs generated

Binary file not shown.

BIN
cln-rpc/src/model.rs generated

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -20,7 +20,7 @@
"description": ""
},
"cltv": {
"type": "number",
"type": "u32",
"description": ""
},
"fromid": {