mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 09:23:48 +00:00
core: harmonize use of cm.config
This commit is contained in:
parent
69d5f03f21
commit
ab7c93a917
1 changed files with 1 additions and 1 deletions
|
|
@ -493,7 +493,7 @@ func GenerateVerkleChain(config *params.ChainConfig, parent *types.Block, engine
|
|||
// preState := statedb.Copy()
|
||||
|
||||
// EIP-2935 / 7709
|
||||
blockContext := NewEVMBlockContext(b.header, cm, cm.Config(), &b.header.Coinbase)
|
||||
blockContext := NewEVMBlockContext(b.header, cm, cm.config, &b.header.Coinbase)
|
||||
blockContext.Random = &common.Hash{} // enable post-merge instruction set
|
||||
evm := vm.NewEVM(blockContext, statedb, cm.config, vm.Config{})
|
||||
ProcessParentBlockHash(b.header.ParentHash, evm)
|
||||
|
|
|
|||
Loading…
Reference in a new issue