Skip to content

Commit 3b99b55

Browse files
committed
f correct panic message on blocks_disconnected
1 parent 7ae4f68 commit 3b99b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4584,12 +4584,12 @@ impl<Signer: EcdsaChannelSigner> ChannelMonitorImpl<Signer> {
45844584
!unmatured_htlcs.contains(&&source),
45854585
"An unmature HTLC transaction conflicts with a maturing one; failed to \
45864586
call either transaction_unconfirmed for the conflicting transaction \
4587-
or blocks_disconnected for a block containing it.");
4587+
or blocks_disconnected for a before below it.");
45884588
debug_assert!(
45894589
!matured_htlcs.contains(&source),
45904590
"A matured HTLC transaction conflicts with a maturing one; failed to \
45914591
call either transaction_unconfirmed for the conflicting transaction \
4592-
or blocks_disconnected for a block containing it.");
4592+
or blocks_disconnected for a block before it.");
45934593
matured_htlcs.push(source.clone());
45944594
}
45954595

0 commit comments

Comments
 (0)