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 229d350 commit 228e943Copy full SHA for 228e943
lightning-invoice/src/lib.rs
@@ -76,9 +76,7 @@ mod prelude {
76
use crate::prelude::*;
77
78
/// Re-export serialization traits
79
-#[cfg(fuzzing)]
80
pub use crate::de::FromBase32;
81
82
pub use crate::ser::Base32Iterable;
83
84
/// Errors that indicate what is wrong with the invoice. They have some granularity for debug
@@ -1086,9 +1084,6 @@ impl RawBolt11Invoice {
1086
1084
1087
1085
/// Calculate the hash of the encoded `RawBolt11Invoice` which should be signed.
1088
pub fn signable_hash(&self) -> [u8; 32] {
1089
- #[cfg(not(fuzzing))]
1090
- use crate::ser::Base32Iterable;
1091
-
1092
Self::hash_from_parts(self.hrp.to_string().as_bytes(), self.data.fe_iter())
1093
}
1094
0 commit comments