Skip to content

Commit 830673f

Browse files
committed
schemas: allow *CLOSED* state in channel_state_changed notification.
Signed-off-by: Rusty Russell <[email protected]>
1 parent 9fe8f3a commit 830673f

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

contrib/msggen/msggen/schema.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36358,10 +36358,12 @@
3635836358
"DUALOPEND_AWAITING_LOCKIN",
3635936359
"CHANNELD_AWAITING_SPLICE",
3636036360
"DUALOPEND_OPEN_COMMITTED",
36361-
"DUALOPEND_OPEN_COMMIT_READY"
36361+
"DUALOPEND_OPEN_COMMIT_READY",
36362+
"CLOSED"
3636236363
],
3636336364
"description": [
36364-
"The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally"
36365+
"The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally",
36366+
"Note: *CLOSED* state was only added in v25.12."
3636536367
],
3636636368
"added": "pre-v0.10.1"
3636736369
},

doc/schemas/notification/channel_state_changed.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,12 @@
8787
"DUALOPEND_AWAITING_LOCKIN",
8888
"CHANNELD_AWAITING_SPLICE",
8989
"DUALOPEND_OPEN_COMMITTED",
90-
"DUALOPEND_OPEN_COMMIT_READY"
90+
"DUALOPEND_OPEN_COMMIT_READY",
91+
"CLOSED"
9192
],
9293
"description": [
93-
"The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally"
94+
"The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally",
95+
"Note: *CLOSED* state was only added in v25.12."
9496
],
9597
"added": "pre-v0.10.1"
9698
},

0 commit comments

Comments
 (0)