Skip to content

Commit e9bad1b

Browse files
committed
Fix indentation in router.rs broken in a1d15ac
1 parent cc4bc1d commit e9bad1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/routing/router.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2747,8 +2747,8 @@ where L::Target: Logger {
27472747
});
27482748
for idx in 0..(selected_route.len() - 1) {
27492749
if idx + 1 >= selected_route.len() { break; }
2750-
if iter_equal(selected_route[idx].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target())),
2751-
selected_route[idx + 1].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target()))) {
2750+
if iter_equal(selected_route[idx ].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target())),
2751+
selected_route[idx + 1].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target()))) {
27522752
let new_value = selected_route[idx].get_value_msat() + selected_route[idx + 1].get_value_msat();
27532753
selected_route[idx].update_value_and_recompute_fees(new_value);
27542754
selected_route.remove(idx + 1);

0 commit comments

Comments
 (0)