File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -2455,7 +2455,7 @@ where L::Target: Logger {
24552455 // because we deterministically terminated the search due to low liquidity.
24562456 if !found_new_path && channel_saturation_pow_half != 0 {
24572457 channel_saturation_pow_half = 0 ;
2458- } else if !found_new_path && already_collected_value_msat < final_value_msat && path_value_msat != recommended_value_msat {
2458+ } else if !found_new_path && hit_minimum_limit && already_collected_value_msat < final_value_msat && path_value_msat != recommended_value_msat {
24592459 log_trace ! ( logger, "Failed to collect enough value, but running again to collect extra paths with a potentially higher limit." ) ;
24602460 path_value_msat = recommended_value_msat;
24612461 } else if already_collected_value_msat >= recommended_value_msat || !found_new_path {
You can’t perform that action at this time.
0 commit comments