aboutsummaryrefslogtreecommitdiffstats
path: root/light/odr_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'light/odr_test.go')
-rw-r--r--light/odr_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/light/odr_test.go b/light/odr_test.go
index 9c83e91c6..1ae600e28 100644
--- a/light/odr_test.go
+++ b/light/odr_test.go
@@ -294,7 +294,8 @@ func testChainOdr(t *testing.T, protocol int, expFail uint64, fn odrTestFn) {
core.WriteGenesisBlockForTesting(ldb, core.GenesisAccount{Address: testBankAddress, Balance: testBankFunds})
// Assemble the test environment
blockchain, _ := core.NewBlockChain(sdb, testChainConfig(), pow, evmux)
- gchain, _ := core.GenerateChain(nil, genesis, sdb, 4, testChainGen)
+ chainConfig := &params.ChainConfig{HomesteadBlock: new(big.Int)}
+ gchain, _ := core.GenerateChain(chainConfig, genesis, sdb, 4, testChainGen)
if _, err := blockchain.InsertChain(gchain); err != nil {
panic(err)
}