mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
core: fix test
This commit is contained in:
parent
2537249b70
commit
ac0edb795e
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ func TestProcessParentBlockHash(t *testing.T) {
|
|||
if isVerkle {
|
||||
chainConfig = testVerkleChainConfig
|
||||
}
|
||||
vmContext := NewEVMBlockContext(header, nil, new(common.Address))
|
||||
vmContext := NewEVMBlockContext(header, &BlockChain{chainConfig: chainConfig}, new(common.Address))
|
||||
evm := vm.NewEVM(vmContext, statedb, chainConfig, vm.Config{})
|
||||
ProcessParentBlockHash(header.ParentHash, evm)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue