Skip to content

Commit aa46b19

Browse files
committed
f revert assertion removal
1 parent 7e3e4df commit aa46b19

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2286,6 +2286,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
22862286
held_update.update.update_id += 1;
22872287
}
22882288
if msg.is_some() {
2289+
debug_assert!(false, "If there is a pending blocked monitor we should have MonitorUpdateInProgress set");
22892290
let update = self.build_commitment_no_status_check(logger);
22902291
self.context.pending_monitor_updates.push(PendingChannelMonitorUpdate {
22912292
update, blocked: true,

0 commit comments

Comments
 (0)