mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
fix: incorrect access copy (#288)
This commit is contained in:
parent
49fdfff681
commit
189a4770dd
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ func NewEVM(blockCtx BlockContext, txCtx TxContext, statedb StateDB, chainConfig
|
|||
chainRules: chainConfig.Rules(blockCtx.BlockNumber, blockCtx.Random != nil, blockCtx.Time),
|
||||
}
|
||||
if txCtx.Accesses == nil && chainConfig.IsPrague(blockCtx.BlockNumber, blockCtx.Time) {
|
||||
txCtx.Accesses = evm.StateDB.(*state.StateDB).NewAccessWitness()
|
||||
evm.Accesses = evm.StateDB.(*state.StateDB).NewAccessWitness()
|
||||
}
|
||||
evm.interpreter = NewEVMInterpreter(evm)
|
||||
return evm
|
||||
|
|
|
|||
Loading…
Reference in a new issue