We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a682181 commit b81b6c8Copy full SHA for b81b6c8
lightning/src/routing/router.rs
@@ -1661,7 +1661,7 @@ where L::Target: Logger {
1661
debug_assert_eq!(selected_route.iter().map(|p| p.get_value_msat()).sum::<u64>(), already_collected_value_msat);
1662
let mut overpaid_value_msat = already_collected_value_msat - final_value_msat;
1663
1664
- // First, sort by the cost-per-value of the path, dropping the paths which cost the most for
+ // First, sort by the cost-per-value of the path, dropping the paths that cost the most for
1665
// the value they contribute towards the payment amount.
1666
// We sort in descending order as we will remove from the front in `retain`, next.
1667
selected_route.sort_unstable_by(|a, b|
0 commit comments