Skip to content

Commit ebbd548

Browse files
committed
f sp
1 parent b81b6c8 commit ebbd548

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
@@ -1688,7 +1688,7 @@ where L::Target: Logger {
16881688

16891689
if overpaid_value_msat != 0 {
16901690
// Step (7).
1691-
// Now, subtract the overpaid value from the most-expensive path.
1691+
// Now, subtract the remaining overpaid value from the most-expensive path.
16921692
// TODO: this could also be optimized by also sorting by feerate_per_sat_routed,
16931693
// so that the sender pays less fees overall. And also htlc_minimum_msat.
16941694
selected_route.sort_unstable_by(|a, b| {

0 commit comments

Comments
 (0)