@@ -447,7 +447,8 @@ impl OutboundPayments {
447
447
& self , route : & Route , payment_hash : PaymentHash , payment_secret : & Option < PaymentSecret > ,
448
448
keysend_preimage : Option < PaymentPreimage > , payment_id : PaymentId , recv_value_msat : Option < u64 > ,
449
449
onion_session_privs : Vec < [ u8 ; 32 ] > , keys_manager : & K , best_block_height : u32 ,
450
- send_payment_along_path : F ) -> Result < ( ) , PaymentSendFailure >
450
+ send_payment_along_path : F
451
+ ) -> Result < ( ) , PaymentSendFailure >
451
452
where
452
453
K :: Target : KeysInterface ,
453
454
F : Fn ( & Vec < RouteHop > , & Option < PaymentParameters > , & PaymentHash , & Option < PaymentSecret > , u64 ,
@@ -556,7 +557,8 @@ impl OutboundPayments {
556
557
& self , route : & Route , payment_hash : PaymentHash , payment_secret : & Option < PaymentSecret > ,
557
558
keysend_preimage : Option < PaymentPreimage > , payment_id : PaymentId , recv_value_msat : Option < u64 > ,
558
559
onion_session_privs : Vec < [ u8 ; 32 ] > , keys_manager : & K , best_block_height : u32 ,
559
- send_payment_along_path : F ) -> Result < ( ) , PaymentSendFailure >
560
+ send_payment_along_path : F
561
+ ) -> Result < ( ) , PaymentSendFailure >
560
562
where
561
563
K :: Target : KeysInterface ,
562
564
F : Fn ( & Vec < RouteHop > , & Option < PaymentParameters > , & PaymentHash , & Option < PaymentSecret > , u64 ,
@@ -569,7 +571,8 @@ impl OutboundPayments {
569
571
570
572
pub ( super ) fn claim_htlc < L : Deref > (
571
573
& self , payment_id : PaymentId , payment_preimage : PaymentPreimage , session_priv : SecretKey ,
572
- path : Vec < RouteHop > , from_onchain : bool , pending_events : & Mutex < Vec < events:: Event > > , logger : & L )
574
+ path : Vec < RouteHop > , from_onchain : bool , pending_events : & Mutex < Vec < events:: Event > > , logger : & L
575
+ )
573
576
where L :: Target : Logger {
574
577
let mut session_priv_bytes = [ 0 ; 32 ] ;
575
578
session_priv_bytes. copy_from_slice ( & session_priv[ ..] ) ;
@@ -679,7 +682,8 @@ impl OutboundPayments {
679
682
& self , source : & HTLCSource , payment_hash : & PaymentHash , onion_error : & HTLCFailReason ,
680
683
path : & Vec < RouteHop > , session_priv : & SecretKey , payment_id : & PaymentId ,
681
684
payment_params : & Option < PaymentParameters > , probing_cookie_secret : [ u8 ; 32 ] ,
682
- secp_ctx : & Secp256k1 < secp256k1:: All > , pending_events : & Mutex < Vec < events:: Event > > , logger : & L )
685
+ secp_ctx : & Secp256k1 < secp256k1:: All > , pending_events : & Mutex < Vec < events:: Event > > , logger : & L
686
+ )
683
687
where L :: Target : Logger {
684
688
let mut session_priv_bytes = [ 0 ; 32 ] ;
685
689
session_priv_bytes. copy_from_slice ( & session_priv[ ..] ) ;
0 commit comments