We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b81b6c8 commit ebbd548Copy full SHA for ebbd548
lightning/src/routing/router.rs
@@ -1688,7 +1688,7 @@ where L::Target: Logger {
1688
1689
if overpaid_value_msat != 0 {
1690
// Step (7).
1691
- // Now, subtract the overpaid value from the most-expensive path.
+ // Now, subtract the remaining overpaid value from the most-expensive path.
1692
// TODO: this could also be optimized by also sorting by feerate_per_sat_routed,
1693
// so that the sender pays less fees overall. And also htlc_minimum_msat.
1694
selected_route.sort_unstable_by(|a, b| {
0 commit comments