@@ -447,7 +447,8 @@ impl OutboundPayments {
447447 & self , route : & Route , payment_hash : PaymentHash , payment_secret : & Option < PaymentSecret > ,
448448 keysend_preimage : Option < PaymentPreimage > , payment_id : PaymentId , recv_value_msat : Option < u64 > ,
449449 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 >
451452 where
452453 K :: Target : KeysInterface ,
453454 F : Fn ( & Vec < RouteHop > , & Option < PaymentParameters > , & PaymentHash , & Option < PaymentSecret > , u64 ,
@@ -556,7 +557,8 @@ impl OutboundPayments {
556557 & self , route : & Route , payment_hash : PaymentHash , payment_secret : & Option < PaymentSecret > ,
557558 keysend_preimage : Option < PaymentPreimage > , payment_id : PaymentId , recv_value_msat : Option < u64 > ,
558559 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 >
560562 where
561563 K :: Target : KeysInterface ,
562564 F : Fn ( & Vec < RouteHop > , & Option < PaymentParameters > , & PaymentHash , & Option < PaymentSecret > , u64 ,
@@ -569,8 +571,8 @@ impl OutboundPayments {
569571
570572 pub ( super ) fn claim_htlc < L : Deref > (
571573 & 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 )
573- where L :: Target : Logger {
574+ path : Vec < RouteHop > , from_onchain : bool , pending_events : & Mutex < Vec < events:: Event > > , logger : & L
575+ ) where L :: Target : Logger {
574576 let mut session_priv_bytes = [ 0 ; 32 ] ;
575577 session_priv_bytes. copy_from_slice ( & session_priv[ ..] ) ;
576578 let mut outbounds = self . pending_outbound_payments . lock ( ) . unwrap ( ) ;
@@ -679,8 +681,8 @@ impl OutboundPayments {
679681 & self , source : & HTLCSource , payment_hash : & PaymentHash , onion_error : & HTLCFailReason ,
680682 path : & Vec < RouteHop > , session_priv : & SecretKey , payment_id : & PaymentId ,
681683 payment_params : & Option < PaymentParameters > , probing_cookie_secret : [ u8 ; 32 ] ,
682- secp_ctx : & Secp256k1 < secp256k1:: All > , pending_events : & Mutex < Vec < events:: Event > > , logger : & L )
683- where L :: Target : Logger {
684+ secp_ctx : & Secp256k1 < secp256k1:: All > , pending_events : & Mutex < Vec < events:: Event > > , logger : & L
685+ ) where L :: Target : Logger {
684686 let mut session_priv_bytes = [ 0 ; 32 ] ;
685687 session_priv_bytes. copy_from_slice ( & session_priv[ ..] ) ;
686688 let mut outbounds = self . pending_outbound_payments . lock ( ) . unwrap ( ) ;
0 commit comments