all: removed blockhash from statedb (#23126)

This PR removes the blockhash from the statedb
This commit is contained in:
Marius van der Wijden
2021-06-30 15:17:01 +02:00
committed by GitHub
parent e7c8693635
commit 686b2884ee
11 changed files with 41 additions and 41 deletions

View File

@ -67,7 +67,7 @@ func (p *statePrefetcher) Prefetch(block *types.Block, statedb *state.StateDB, c
if err != nil {
return // Also invalid block, bail out
}
statedb.Prepare(tx.Hash(), block.Hash(), i)
statedb.Prepare(tx.Hash(), i)
if err := precacheTransaction(msg, p.config, gaspool, statedb, header, evm); err != nil {
return // Ugh, something went horribly wrong, bail out
}