@@ -47,7 +47,7 @@ use lightning::routing::network_graph::RoutingFees;
4747use lightning:: routing:: router:: RouteHint ;
4848use lightning:: util:: invoice:: construct_invoice_preimage;
4949
50- use secp256k1:: key :: PublicKey ;
50+ use secp256k1:: PublicKey ;
5151use secp256k1:: { Message , Secp256k1 } ;
5252use secp256k1:: recovery:: RecoverableSignature ;
5353
@@ -123,7 +123,7 @@ pub const DEFAULT_MIN_FINAL_CLTV_EXPIRY: u64 = 18;
123123/// use bitcoin_hashes::sha256;
124124///
125125/// use secp256k1::Secp256k1;
126- /// use secp256k1::key:: SecretKey;
126+ /// use secp256k1::SecretKey;
127127///
128128/// use lightning::ln::PaymentSecret;
129129///
@@ -1537,7 +1537,7 @@ mod test {
15371537 use TaggedField :: * ;
15381538 use secp256k1:: Secp256k1 ;
15391539 use secp256k1:: recovery:: { RecoveryId , RecoverableSignature } ;
1540- use secp256k1:: key :: { SecretKey , PublicKey } ;
1540+ use secp256k1:: { SecretKey , PublicKey } ;
15411541 use { SignedRawInvoice , InvoiceSignature , RawInvoice , RawHrp , RawDataPart , Currency , Sha256 ,
15421542 PositiveTimestamp } ;
15431543
@@ -1606,7 +1606,7 @@ mod test {
16061606 use TaggedField :: * ;
16071607 use lightning:: ln:: features:: InvoiceFeatures ;
16081608 use secp256k1:: Secp256k1 ;
1609- use secp256k1:: key :: SecretKey ;
1609+ use secp256k1:: SecretKey ;
16101610 use { RawInvoice , RawHrp , RawDataPart , Currency , Sha256 , PositiveTimestamp , Invoice ,
16111611 SemanticError } ;
16121612
@@ -1724,7 +1724,7 @@ mod test {
17241724 use :: * ;
17251725 use lightning:: routing:: router:: RouteHintHop ;
17261726 use std:: iter:: FromIterator ;
1727- use secp256k1:: key :: PublicKey ;
1727+ use secp256k1:: PublicKey ;
17281728
17291729 let builder = InvoiceBuilder :: new ( Currency :: Bitcoin )
17301730 . payment_hash ( sha256:: Hash :: from_slice ( & [ 0 ; 32 ] [ ..] ) . unwrap ( ) )
@@ -1778,7 +1778,7 @@ mod test {
17781778 use :: * ;
17791779 use lightning:: routing:: router:: RouteHintHop ;
17801780 use secp256k1:: Secp256k1 ;
1781- use secp256k1:: key :: { SecretKey , PublicKey } ;
1781+ use secp256k1:: { SecretKey , PublicKey } ;
17821782 use std:: time:: { UNIX_EPOCH , Duration } ;
17831783
17841784 let secp_ctx = Secp256k1 :: new ( ) ;
@@ -1892,7 +1892,7 @@ mod test {
18921892 fn test_default_values ( ) {
18931893 use :: * ;
18941894 use secp256k1:: Secp256k1 ;
1895- use secp256k1:: key :: SecretKey ;
1895+ use secp256k1:: SecretKey ;
18961896
18971897 let signed_invoice = InvoiceBuilder :: new ( Currency :: Bitcoin )
18981898 . description ( "Test" . into ( ) )
@@ -1918,7 +1918,7 @@ mod test {
19181918 fn test_expiration ( ) {
19191919 use :: * ;
19201920 use secp256k1:: Secp256k1 ;
1921- use secp256k1:: key :: SecretKey ;
1921+ use secp256k1:: SecretKey ;
19221922
19231923 let signed_invoice = InvoiceBuilder :: new ( Currency :: Bitcoin )
19241924 . description ( "Test" . into ( ) )
0 commit comments