Skip to content

Commit 18312a4

Browse files
laanwjShahanaFarooqui
authored andcommitted
schemas: "description" field in "wait(any)invoice" is optional since BOLT12
For BOLT12 invoices, the "description" is field missing in the invoice responses. Update the schemas accordingly: - `doc/schemas/lightning-waitanyinvoice.json` - `doc/schemas/lightning-waitinvoice.json` Also commit the generated msggen, cln-grpc, cln-rpc and pyln-grpc-proto files. Changelog-Fixed: schemas: Make description in `Wait(any)invoiceResponse` optional to handle BOLT12
1 parent 55c1e31 commit 18312a4

File tree

7 files changed

+712
-714
lines changed

7 files changed

+712
-714
lines changed

cln-grpc/proto/node.proto

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cln-grpc/src/convert.rs

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cln-rpc/src/model.rs

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/msggen/msggen/schema.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33516,7 +33516,6 @@
3351633516
"response": {
3351733517
"required": [
3351833518
"label",
33519-
"description",
3352033519
"payment_hash",
3352133520
"status",
3352233521
"created_index",
@@ -33877,7 +33876,6 @@
3387733876
"response": {
3387833877
"required": [
3387933878
"label",
33880-
"description",
3388133879
"payment_hash",
3388233880
"status",
3388333881
"created_index",

contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py

Lines changed: 704 additions & 704 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/schemas/lightning-waitanyinvoice.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"response": {
3030
"required": [
3131
"label",
32-
"description",
3332
"payment_hash",
3433
"status",
3534
"created_index",

doc/schemas/lightning-waitinvoice.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"response": {
3131
"required": [
3232
"label",
33-
"description",
3433
"payment_hash",
3534
"status",
3635
"created_index",

0 commit comments

Comments
 (0)