Skip to content

Commit e3fedfd

Browse files
author
Antoine Riard
committed
-f warnign channel-closed event
1 parent 7f3faa0 commit e3fedfd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lightning/src/util/events.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ pub enum Event {
232232
claim_from_onchain_tx: bool,
233233
},
234234
/// Used to indicate that a channel with the given `channel_id` is in the process of closure.
235+
/// Note that if you try to force-close multiple times a channel through
236+
/// [`ChannelManager::force_close_channel`] before receiving the corresponding monitor
237+
/// event for the broadcast of the commitment transaction, multiple `ChannelClosed` events
238+
/// can be generated.
235239
ChannelClosed {
236240
/// The channel_id which has been barren from further off-chain updates but
237241
/// funding output might still be not resolved yet.

0 commit comments

Comments
 (0)