diff --git a/crates/horizon-client/src/streaming.rs b/crates/horizon-client/src/streaming.rs index b3fce2013..e4a3063b3 100644 --- a/crates/horizon-client/src/streaming.rs +++ b/crates/horizon-client/src/streaming.rs @@ -833,9 +833,8 @@ mod tests { && (z - r.center.1).abs() <= radius + margin.max(reach + 1) }; let proto_kept = |x, z| r.in_range(x, z, 4) || r.near_finished(x, z, 2); - let decorated = |x, z| { - !decorates || r.in_range(x, z, 2) || r.near_finished(x, z, 1) - }; + let decorated = + |x, z| !decorates || r.in_range(x, z, 2) || r.near_finished(x, z, 1); let chunk_kept = |x, z| r.in_range(x, z, 2) || r.near_finished(x, z, 1); let unloaded = |x, z| !r.in_range(x, z, 3) && !r.near_finished(x, z, 1); let finishes = |x: i32, z: i32| {