Skip to content

Commit 228e943

Browse files
committed
expose ser/de from lightning-invoice
1 parent 229d350 commit 228e943

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lightning-invoice/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@ mod prelude {
7676
use crate::prelude::*;
7777

7878
/// Re-export serialization traits
79-
#[cfg(fuzzing)]
8079
pub use crate::de::FromBase32;
81-
#[cfg(fuzzing)]
8280
pub use crate::ser::Base32Iterable;
8381

8482
/// Errors that indicate what is wrong with the invoice. They have some granularity for debug
@@ -1086,9 +1084,6 @@ impl RawBolt11Invoice {
10861084

10871085
/// Calculate the hash of the encoded `RawBolt11Invoice` which should be signed.
10881086
pub fn signable_hash(&self) -> [u8; 32] {
1089-
#[cfg(not(fuzzing))]
1090-
use crate::ser::Base32Iterable;
1091-
10921087
Self::hash_from_parts(self.hrp.to_string().as_bytes(), self.data.fe_iter())
10931088
}
10941089

0 commit comments

Comments
 (0)