Skip to content

Commit b81b6c8

Browse files
committed
f sp
1 parent a682181 commit b81b6c8

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
@@ -1661,7 +1661,7 @@ where L::Target: Logger {
16611661
debug_assert_eq!(selected_route.iter().map(|p| p.get_value_msat()).sum::<u64>(), already_collected_value_msat);
16621662
let mut overpaid_value_msat = already_collected_value_msat - final_value_msat;
16631663

1664-
// First, sort by the cost-per-value of the path, dropping the paths which cost the most for
1664+
// First, sort by the cost-per-value of the path, dropping the paths that cost the most for
16651665
// the value they contribute towards the payment amount.
16661666
// We sort in descending order as we will remove from the front in `retain`, next.
16671667
selected_route.sort_unstable_by(|a, b|

0 commit comments

Comments
 (0)