From: Antoine Riard Date: Mon, 6 Sep 2021 18:42:33 +0000 (-0400) Subject: -f warnign channel-closed event X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=e3fedfdcebd67877cac8b550045cc2203e629122;p=rust-lightning -f warnign channel-closed event --- 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.