Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
librelois committed Apr 25, 2024
1 parent 26249fe commit 2ef9a24
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions client/mapping-sync/src/kv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,7 @@ where
}

let best_hash = client.info().best_hash;
if SyncStrategy::Parachain == strategy
&& !frontier_backend
.mapping()
.is_synced(&best_hash)?
{
if SyncStrategy::Parachain == strategy && !frontier_backend.mapping().is_synced(&best_hash)? {
// Add best block to current_syncing_tips
current_syncing_tips.push(best_hash);
}
Expand Down

0 comments on commit 2ef9a24

Please sign in to comment.