Skip to content

Commit c76043b

Browse files
committed
Fix indentation in router.rs broken in a1d15ac
1 parent 64cfc28 commit c76043b

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
@@ -2746,8 +2746,8 @@ where L::Target: Logger {
27462746
});
27472747
for idx in 0..(selected_route.len() - 1) {
27482748
if idx + 1 >= selected_route.len() { break; }
2749-
if iter_equal(selected_route[idx].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target())),
2750-
selected_route[idx + 1].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target()))) {
2749+
if iter_equal(selected_route[idx ].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target())),
2750+
selected_route[idx + 1].hops.iter().map(|h| (h.0.candidate.id(), h.0.candidate.target()))) {
27512751
let new_value = selected_route[idx].get_value_msat() + selected_route[idx + 1].get_value_msat();
27522752
selected_route[idx].update_value_and_recompute_fees(new_value);
27532753
selected_route.remove(idx + 1);

0 commit comments

Comments
 (0)