Skip to content

Commit

Permalink
Update base_layer/core/src/base_node/sync/header_sync/synchronizer.rs
Browse files Browse the repository at this point in the history
Spelling error
  • Loading branch information
hansieodendaal authored Oct 18, 2023
1 parent 0da6871 commit 88e5830
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ impl<'a, B: BlockchainBackend + 'static> HeaderSynchronizer<'a, B> {
.map(BlockHeader::try_from)
.collect::<Result<Vec<_>, _>>()
.map_err(BlockHeaderSyncError::ReceivedInvalidHeader)?;
let num_new_headers = headers.len(); // Required fro later use, no 'Copy' trait on 'BlockHeader'
let num_new_headers = headers.len(); // Required for later use, no 'Copy' trait on 'BlockHeader'

// NOTE: We can trust that the header associated with this hash exists because `block_hashes` was supplied by
// this node. Bounds checking for fork_hash_index has been done above.
Expand Down

0 comments on commit 88e5830

Please sign in to comment.