mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 06:06:44 +00:00
add comment to prefetch bal
This commit is contained in:
parent
f52f4cade3
commit
c1cc93326e
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ func (p *ParallelStateProcessor) Process(block *types.Block, statedb *state.Stat
|
|||
initialdb = statedb.Copy()
|
||||
|
||||
start = time.Now()
|
||||
// Must prefetch bal before syscall or merkle root might mismatch
|
||||
// Must prefetch bal before syscall to avoid overring syscall's state, thus merkle root might mismatch
|
||||
statedb.PrefetchStateBAL(block.NumberU64())
|
||||
PrefetchBALTime += time.Since(start)
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue