X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning%2Fsrc%2Futil%2Finvoice.rs;h=b6cf452ffc955935a55a3e4cb801c649fb10d915;hb=e4e6e09b672dc929b4d8571975bd923a7a4486be;hp=0612ff73cf350933afa3906aa75f75a120d7900a;hpb=35d4ebb208255724804187e3f10553c9383c9522;p=rust-lightning diff --git a/lightning/src/util/invoice.rs b/lightning/src/util/invoice.rs index 0612ff73..b6cf452f 100644 --- a/lightning/src/util/invoice.rs +++ b/lightning/src/util/invoice.rs @@ -1,7 +1,9 @@ //! Low level invoice utilities. use bitcoin::bech32::{u5, FromBase32}; -use prelude::*; + +#[allow(unused)] +use crate::prelude::*; /// Construct the invoice's HRP and signatureless data into a preimage to be hashed. pub fn construct_invoice_preimage(hrp_bytes: &[u8], data_without_signature: &[u5]) -> Vec {