@@ -230,8 +230,8 @@ where
230
230
let duration = SystemTime :: now ( ) . duration_since ( SystemTime :: UNIX_EPOCH )
231
231
. expect ( "for the foreseeable future this shouldn't happen" ) ;
232
232
create_invoice_from_channelmanager_and_duration_since_epoch (
233
- channelmanager, keys_manager, network, amt_msat,
234
- description , duration , invoice_expiry_delta_secs
233
+ channelmanager, keys_manager, network, amt_msat, description , duration ,
234
+ invoice_expiry_delta_secs
235
235
)
236
236
}
237
237
@@ -815,12 +815,11 @@ mod test {
815
815
} ;
816
816
let non_default_invoice_expiry_secs = 4200 ;
817
817
818
- let invoice = :: utils:: create_phantom_invoice :: <
819
- EnforcingSigner , & test_utils:: TestKeysInterface
820
- > (
821
- Some ( payment_amt) , payment_hash, "test" . to_string ( ) , non_default_invoice_expiry_secs,
822
- route_hints, & nodes[ 1 ] . keys_manager , Currency :: BitcoinTestnet
823
- ) . unwrap ( ) ;
818
+ let invoice =
819
+ :: utils:: create_phantom_invoice :: < EnforcingSigner , & test_utils:: TestKeysInterface > (
820
+ Some ( payment_amt) , payment_hash, "test" . to_string ( ) , non_default_invoice_expiry_secs,
821
+ route_hints, & nodes[ 1 ] . keys_manager , Currency :: BitcoinTestnet
822
+ ) . unwrap ( ) ;
824
823
let ( payment_hash, payment_secret) = ( PaymentHash ( invoice. payment_hash ( ) . into_inner ( ) ) , * invoice. payment_secret ( ) ) ;
825
824
let payment_preimage = if user_generated_pmt_hash {
826
825
user_payment_preimage
0 commit comments