Skip to content

Commit b200c5f

Browse files
committed
f revert assertion removal
1 parent f1f28a7 commit b200c5f

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
@@ -2283,6 +2283,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
22832283
held_update.update.update_id += 1;
22842284
}
22852285
if msg.is_some() {
2286+
debug_assert!(false, "If there is a pending blocked monitor we should have MonitorUpdateInProgress set");
22862287
let update = self.build_commitment_no_status_check(logger);
22872288
self.context.pending_monitor_updates.push(PendingChannelMonitorUpdate {
22882289
update, blocked: true,

0 commit comments

Comments
 (0)