From 64563c51f42911a91bf87131518ebc233c11e9e7 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 17 Nov 2025 19:47:00 +1030 Subject: [PATCH] schemas: allow *CLOSED* state in channel_state_changed notification. Signed-off-by: Rusty Russell --- contrib/msggen/msggen/schema.json | 6 ++++-- doc/schemas/notification/channel_state_changed.json | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/contrib/msggen/msggen/schema.json b/contrib/msggen/msggen/schema.json index 78f0a9dd4..a69a10be4 100644 --- a/contrib/msggen/msggen/schema.json +++ b/contrib/msggen/msggen/schema.json @@ -37731,10 +37731,12 @@ "DUALOPEND_AWAITING_LOCKIN", "CHANNELD_AWAITING_SPLICE", "DUALOPEND_OPEN_COMMITTED", - "DUALOPEND_OPEN_COMMIT_READY" + "DUALOPEND_OPEN_COMMIT_READY", + "CLOSED" ], "description": [ - "The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally" + "The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally", + "Note: *CLOSED* state was only added in v25.12." ], "added": "pre-v0.10.1" }, diff --git a/doc/schemas/notification/channel_state_changed.json b/doc/schemas/notification/channel_state_changed.json index 72e470d2b..c2f1aba18 100644 --- a/doc/schemas/notification/channel_state_changed.json +++ b/doc/schemas/notification/channel_state_changed.json @@ -87,10 +87,12 @@ "DUALOPEND_AWAITING_LOCKIN", "CHANNELD_AWAITING_SPLICE", "DUALOPEND_OPEN_COMMITTED", - "DUALOPEND_OPEN_COMMIT_READY" + "DUALOPEND_OPEN_COMMIT_READY", + "CLOSED" ], "description": [ - "The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally" + "The channel state, in particular \"CHANNELD_NORMAL\" and \"CHANNELD_AWAITING_SPLICE\" mean the channel can be used normally", + "Note: *CLOSED* state was only added in v25.12." ], "added": "pre-v0.10.1" },