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 7e3e4df commit aa46b19Copy full SHA for aa46b19
lightning/src/ln/channel.rs
@@ -2286,6 +2286,7 @@ impl<Signer: WriteableEcdsaChannelSigner> Channel<Signer> {
2286
held_update.update.update_id += 1;
2287
}
2288
if msg.is_some() {
2289
+ debug_assert!(false, "If there is a pending blocked monitor we should have MonitorUpdateInProgress set");
2290
let update = self.build_commitment_no_status_check(logger);
2291
self.context.pending_monitor_updates.push(PendingChannelMonitorUpdate {
2292
update, blocked: true,
0 commit comments