Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
FMT
Browse files Browse the repository at this point in the history
  • Loading branch information
bkchr committed Jun 23, 2022
1 parent 5e714fb commit 216b448
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/network/sync/src/blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ impl<B: BlockT> BlockCollection<B> {
}

if let Some(BlockData { block, .. }) = ready.first() {
self.queued_blocks.insert(block.hash, (from, from + (ready.len() as u32).into()));
self.queued_blocks
.insert(block.hash, (from, from + (ready.len() as u32).into()));
}

trace!(target: "sync", "{} blocks ready for import", ready.len());
Expand Down

0 comments on commit 216b448

Please sign in to comment.