@@ -19,8 +19,8 @@ use lightning::routing::router::{RouteHint, RouteHintHop};
1919use num_traits:: { CheckedAdd , CheckedMul } ;
2020
2121use secp256k1;
22- use secp256k1:: recovery :: { RecoveryId , RecoverableSignature } ;
23- use secp256k1:: key :: PublicKey ;
22+ use secp256k1:: ecdsa :: { RecoveryId , RecoverableSignature } ;
23+ use secp256k1:: PublicKey ;
2424
2525use super :: { Invoice , Sha256 , TaggedField , ExpiryTime , MinFinalCltvExpiry , Fallback , PayeePubKey , InvoiceSignature , PositiveTimestamp ,
2626 SemanticError , PrivateRoute , ParseError , ParseOrSemanticError , Description , RawTaggedField , Currency , RawHrp , SiPrefix , RawInvoice ,
@@ -967,7 +967,7 @@ mod test {
967967 #[ test]
968968 fn test_payment_secret_and_features_de_and_ser ( ) {
969969 use lightning:: ln:: features:: InvoiceFeatures ;
970- use secp256k1:: recovery :: { RecoveryId , RecoverableSignature } ;
970+ use secp256k1:: ecdsa :: { RecoveryId , RecoverableSignature } ;
971971 use TaggedField :: * ;
972972 use { SiPrefix , SignedRawInvoice , InvoiceSignature , RawInvoice , RawHrp , RawDataPart ,
973973 Currency , Sha256 , PositiveTimestamp } ;
@@ -1014,7 +1014,7 @@ mod test {
10141014 #[ test]
10151015 fn test_raw_signed_invoice_deserialization ( ) {
10161016 use TaggedField :: * ;
1017- use secp256k1:: recovery :: { RecoveryId , RecoverableSignature } ;
1017+ use secp256k1:: ecdsa :: { RecoveryId , RecoverableSignature } ;
10181018 use { SignedRawInvoice , InvoiceSignature , RawInvoice , RawHrp , RawDataPart , Currency , Sha256 ,
10191019 PositiveTimestamp } ;
10201020
0 commit comments