@@ -1228,7 +1228,7 @@ impl<ChanSigner: ChannelKeys, M: Deref, T: Deref, K: Deref, F: Deref> ChannelMan
1228
1228
}
1229
1229
1230
1230
// Only public for testing, this should otherwise never be called direcly
1231
- pub ( crate ) fn send_payment_path ( & self , path : & Vec < RouteHop > , payment_hash : & PaymentHash , payment_secret : & Option < PaymentSecret > , total_value : u64 , cur_height : u32 ) -> Result < ( ) , APIError > {
1231
+ pub ( crate ) fn send_payment_along_path ( & self , path : & Vec < RouteHop > , payment_hash : & PaymentHash , payment_secret : & Option < PaymentSecret > , total_value : u64 , cur_height : u32 ) -> Result < ( ) , APIError > {
1232
1232
log_trace ! ( self , "Attempting to send payment for path with next hop {}" , path. first( ) . unwrap( ) . short_channel_id) ;
1233
1233
let ( session_priv, prng_seed) = self . keys_manager . get_onion_rand ( ) ;
1234
1234
@@ -1374,7 +1374,7 @@ impl<ChanSigner: ChannelKeys, M: Deref, T: Deref, K: Deref, F: Deref> ChannelMan
1374
1374
let cur_height = self . latest_block_height . load ( Ordering :: Acquire ) as u32 + 1 ;
1375
1375
let mut results = Vec :: new ( ) ;
1376
1376
for path in route. paths . iter ( ) {
1377
- results. push ( self . send_payment_path ( & path, & payment_hash, payment_secret, total_value, cur_height) ) ;
1377
+ results. push ( self . send_payment_along_path ( & path, & payment_hash, payment_secret, total_value, cur_height) ) ;
1378
1378
}
1379
1379
let mut has_ok = false ;
1380
1380
let mut has_err = false ;
0 commit comments