File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2433,10 +2433,10 @@ where L::Target: Logger {
2433
2433
2434
2434
#[ allow( unused_comparisons) ] // $next_hops_path_htlc_minimum_msat is 0 in some calls so rustc complains
2435
2435
let may_overpay_to_meet_path_minimum_msat =
2436
- ( ( amount_to_transfer_over_msat < htlc_minimum_msat &&
2436
+ ( amount_to_transfer_over_msat < htlc_minimum_msat &&
2437
2437
recommended_value_msat >= htlc_minimum_msat) ||
2438
- ( amount_to_transfer_over_msat < $next_hops_path_htlc_minimum_msat &&
2439
- recommended_value_msat >= $next_hops_path_htlc_minimum_msat) ) ;
2438
+ ( amount_to_transfer_over_msat < $next_hops_path_htlc_minimum_msat &&
2439
+ recommended_value_msat >= $next_hops_path_htlc_minimum_msat) ;
2440
2440
2441
2441
let payment_failed_on_this_channel = match scid_opt {
2442
2442
Some ( scid) => payment_params. previously_failed_channels. contains( & scid) ,
You can’t perform that action at this time.
0 commit comments