Skip to content

Commit 464391c

Browse files
committed
Fix compile warning in fuzzing introduced in cd0d19c
1 parent 71f4749 commit 464391c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lightning/src/chain/channelmonitor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3162,8 +3162,10 @@ impl<Signer: Sign> ChannelMonitorImpl<Signer> {
31623162
let htlc_claim = HTLCClaim::from_witness(&input.witness);
31633163
let revocation_sig_claim = htlc_claim == Some(HTLCClaim::Revocation);
31643164
let accepted_preimage_claim = htlc_claim == Some(HTLCClaim::AcceptedPreimage);
3165+
#[cfg(not(fuzzing))]
31653166
let accepted_timeout_claim = htlc_claim == Some(HTLCClaim::AcceptedTimeout);
31663167
let offered_preimage_claim = htlc_claim == Some(HTLCClaim::OfferedPreimage);
3168+
#[cfg(not(fuzzing))]
31673169
let offered_timeout_claim = htlc_claim == Some(HTLCClaim::OfferedTimeout);
31683170

31693171
let mut payment_preimage = PaymentPreimage([0; 32]);

0 commit comments

Comments
 (0)