Skip to content

Commit 67d5711

Browse files
committed
chore: cargo fmt
1 parent 4c461c2 commit 67d5711

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stackslib/src/net/stackerdb/sync.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,9 @@ impl<NC: NeighborComms> StackerDBSync<NC> {
123123
// search for older neighbors
124124
if min_age > 1 {
125125
min_age = 1;
126-
}
127-
else if min_age == 1 {
126+
} else if min_age == 1 {
128127
min_age = 0;
128+
break;
129129
}
130130
}
131131
Ok(found)

0 commit comments

Comments
 (0)