Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Longarithm committed Nov 16, 2023
1 parent 599ce64 commit d19ef77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chain/chain/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ use near_primitives::transaction::{ExecutionOutcomeWithIdAndProof, SignedTransac
use near_primitives::types::chunk_extra::ChunkExtra;
use near_primitives::types::{
AccountId, Balance, BlockExtra, BlockHeight, BlockHeightDelta, EpochId, MerkleHash, NumBlocks,
NumShards, ShardId, StateChangesForSplitStates, StateRoot,
NumShards, ShardId, StateRoot,
};
use near_primitives::unwrap_or_return;
use near_primitives::utils::MaybeValidated;
Expand Down Expand Up @@ -3880,10 +3880,10 @@ impl Chain {
invalid_chunks: &mut Vec<ShardChunkHeader>,
) -> Result<Vec<ApplyChunkJob>, Error> {
let _span = tracing::debug_span!(target: "chain", "apply_chunks_preprocessing").entered();
let chunk_headers = block.chunks();
let prev_chunk_headers =
Chain::get_prev_chunk_headers(self.epoch_manager.as_ref(), prev_block)?;
chunk_headers
block
.chunks()
.iter()
.zip(prev_chunk_headers.iter())
.enumerate()
Expand Down

0 comments on commit d19ef77

Please sign in to comment.