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 3478d88 commit 67d3ac8Copy full SHA for 67d3ac8
lightning/src/ln/channel.rs
@@ -2004,7 +2004,7 @@ impl<Signer: Sign> Channel<Signer> {
2004
}
2005
2006
if (self.channel_state & (ChannelState::AwaitingRemoteRevoke as u32 | ChannelState::PeerDisconnected as u32 | ChannelState::MonitorUpdateInProgress as u32)) != 0 {
2007
- debug_assert!(force_holding_cell, "We don't expect to need to use the holding cell if we weren't trying to");
+ debug_assert!(force_holding_cell, "!force_holding_cell is only called when emptying the holding cell, so we shouldn't end up back in it!");
2008
force_holding_cell = true;
2009
2010
0 commit comments