From e3fedfdcebd67877cac8b550045cc2203e629122 Mon Sep 17 00:00:00 2001 From: Antoine Riard Date: Mon, 6 Sep 2021 14:42:33 -0400 Subject: [PATCH] -f warnign channel-closed event --- lightning/src/util/events.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lightning/src/util/events.rs b/lightning/src/util/events.rs index 43182c1dd..675b83911 100644 --- a/lightning/src/util/events.rs +++ b/lightning/src/util/events.rs @@ -232,6 +232,10 @@ pub enum Event { claim_from_onchain_tx: bool, }, /// Used to indicate that a channel with the given `channel_id` is in the process of closure. + /// Note that if you try to force-close multiple times a channel through + /// [`ChannelManager::force_close_channel`] before receiving the corresponding monitor + /// event for the broadcast of the commitment transaction, multiple `ChannelClosed` events + /// can be generated. ChannelClosed { /// The channel_id which has been barren from further off-chain updates but /// funding output might still be not resolved yet. -- 2.39.5