We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f1f28a7 commit b200c5fCopy full SHA for b200c5f
lightning/src/ln/channel.rs
@@ -2283,6 +2283,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
2283
held_update.update.update_id += 1;
2284
}
2285
if msg.is_some() {
2286
+ debug_assert!(false, "If there is a pending blocked monitor we should have MonitorUpdateInProgress set");
2287
let update = self.build_commitment_no_status_check(logger);
2288
self.context.pending_monitor_updates.push(PendingChannelMonitorUpdate {
2289
update, blocked: true,
0 commit comments