Skip to content

Commit 3e8553a

Browse files
committed
f Clarify misleading comment
1 parent c058030 commit 3e8553a

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
@@ -1833,7 +1833,7 @@ where L::Target: Logger {
18331833
total_fee_msat = total_fee_msat.saturating_add(hop_use_fee_msat);
18341834
}
18351835

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

0 commit comments

Comments
 (0)