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 f55e102 commit 49d4649Copy full SHA for 49d4649
lightning/src/chain/channelmonitor.rs
@@ -2915,8 +2915,9 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
2915
if claim_via_htlc_tx {
2916
// If the claim was via an HTLC-Timeout/HTLC-Success transaction, it must be a
2917
// 1-in-1-out transaction as its pre-signed.
2918
+ // Note that if anchors are available these both may vary.
2919
debug_assert_eq!(tx.input.len(), 1);
- debug_assert_eq!(tx.output.len(), 1); // If anchors are enabled this should be 2
2920
+ debug_assert_eq!(tx.output.len(), 1);
2921
}
2922
2923
let mut payment_preimage = PaymentPreimage([0; 32]);
0 commit comments