Skip to content

Commit 0b2d476

Browse files
author
Antoine Riard
committed
-f warnign channel-closed event
1 parent 0e27283 commit 0b2d476

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
@@ -215,6 +215,10 @@ pub enum Event {
215215
claim_from_onchain_tx: bool,
216216
},
217217
/// Used to indicate that a channel with the given `channel_id` is in the process of closure.
218+
/// Note that if you try to force-close multiple times a channel through
219+
/// [`ChannelManager::force_close_channel`] before receiving the corresponding monitor
220+
/// event for the broadcast of the commitment transaction, multiple `ChannelClosed` events
221+
/// can be generated.
218222
ChannelClosed {
219223
/// The channel_id which has been barren from further off-chain updates but
220224
/// funding output might still be not resolved yet.

0 commit comments

Comments
 (0)