Skip to content

Commit 1a04e4a

Browse files
committed
f Clarify misleading comment
1 parent 93ee839 commit 1a04e4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/routing/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ where L::Target: Logger {
18301830
total_fee_msat = total_fee_msat.saturating_add(hop_use_fee_msat);
18311831
}
18321832

1833-
// Ignore hops if they by themselves would already put us over `max_total_routing_fee_msat`
1833+
// Ignore hops if augmenting the current path to them would put us over `max_total_routing_fee_msat`
18341834
let max_total_routing_fee_msat = payment_params.max_total_routing_fee_msat.unwrap_or(u64::max_value());
18351835
if total_fee_msat > max_total_routing_fee_msat {
18361836
if should_log_candidate {

0 commit comments

Comments
 (0)