Skip to content

Commit 0016a51

Browse files
committed
Fix lint warning in lightning-invoice when fuzzing
1 parent 7cdcd70 commit 0016a51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lightning-invoice/src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ impl RawBolt11Invoice {
10861086

10871087
/// Calculate the hash of the encoded `RawBolt11Invoice` which should be signed.
10881088
pub fn signable_hash(&self) -> [u8; 32] {
1089+
#[cfg(not(fuzzing))]
10891090
use crate::ser::Base32Iterable;
10901091

10911092
Self::hash_from_parts(self.hrp.to_string().as_bytes(), self.data.fe_iter())

0 commit comments

Comments
 (0)