@@ -56,6 +56,7 @@ use lightning::ln::msgs::{
5656 self , ChannelMessageHandler , CommitmentUpdate , DecodeError , Init , UpdateAddHTLC ,
5757} ;
5858use lightning:: ln:: script:: ShutdownScript ;
59+ use lightning:: ln:: types:: InvoiceData ;
5960use lightning:: ln:: { ChannelId , PaymentHash , PaymentPreimage , PaymentSecret } ;
6061use lightning:: offers:: invoice:: { BlindedPayInfo , UnsignedBolt12Invoice } ;
6162use lightning:: offers:: invoice_request:: UnsignedInvoiceRequest ;
@@ -79,7 +80,6 @@ use bitcoin::secp256k1::ecdsa::{RecoverableSignature, Signature};
7980use bitcoin:: secp256k1:: schnorr;
8081use bitcoin:: secp256k1:: { self , Message , PublicKey , Scalar , Secp256k1 , SecretKey } ;
8182
82- use bech32:: u5;
8383use std:: cmp:: { self , Ordering } ;
8484use std:: io:: Cursor ;
8585use std:: mem;
@@ -332,7 +332,7 @@ impl NodeSigner for KeyProvider {
332332 }
333333
334334 fn sign_invoice (
335- & self , _hrp_bytes : & [ u8 ] , _invoice_data : & [ u5 ] , _recipient : Recipient ,
335+ & self , _hrp_bytes : & [ u8 ] , _invoice_data : & InvoiceData , _recipient : Recipient ,
336336 ) -> Result < RecoverableSignature , ( ) > {
337337 unreachable ! ( )
338338 }
0 commit comments