Skip to content

Commit 67d3ac8

Browse files
committed
f clearer test err message
1 parent 3478d88 commit 67d3ac8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2004,7 +2004,7 @@ impl<Signer: Sign> Channel<Signer> {
20042004
}
20052005

20062006
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");
2007+
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!");
20082008
force_holding_cell = true;
20092009
}
20102010

0 commit comments

Comments
 (0)