Skip to content

Commit

Permalink
wrong comment position
Browse files Browse the repository at this point in the history
  • Loading branch information
welkin22 committed Dec 26, 2024
1 parent 2a5dd36 commit 1d288b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1978,7 +1978,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error)
if parent == nil {
parent = bc.GetHeader(block.ParentHash(), block.NumberU64()-1)
}
// Enable prefetching to pull in trie node paths while processing transactions

if bc.vmConfig.EnableParallelExec {
bc.parseTxDAG(block)
}
Expand All @@ -1992,7 +1992,7 @@ func (bc *BlockChain) insertChain(chain types.Blocks, setHead bool) (int, error)
if err != nil {
return it.index, err
}

// Enable prefetching to pull in trie node paths while processing transactions
statedb.StartPrefetcher("chain")
activeState = statedb

Expand Down

0 comments on commit 1d288b7

Please sign in to comment.