Skip to content

Commit 3eb033a

Browse files
committed
f restore comment (tweaked slightly)
1 parent d5357fb commit 3eb033a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6133,6 +6133,9 @@ where
61336133

61346134
if self.raa_monitor_updates_held(&peer_state.actions_blocking_raa_monitor_updates,
61356135
channel_funding_outpoint, counterparty_node_id) {
6136+
// Check that, while holding the peer lock, we don't have anything else
6137+
// blocking monitor updates for this channel. If we do, release the monitor
6138+
// update(s) when those blockers complete.
61366139
log_trace!(self.logger, "Delaying monitor unlock for channel {} as another channel's mon update needs to complete first",
61376140
log_bytes!(&channel_funding_outpoint.to_channel_id()[..]));
61386141
break;

0 commit comments

Comments
 (0)