aboutsummaryrefslogtreecommitdiffstats
path: root/light/txpool_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'light/txpool_test.go')
-rw-r--r--light/txpool_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/light/txpool_test.go b/light/txpool_test.go
index 4ff1006e5..0f797a9e8 100644
--- a/light/txpool_test.go
+++ b/light/txpool_test.go
@@ -87,7 +87,8 @@ func TestTxPool(t *testing.T) {
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, poolTestBlocks, txPoolTestChainGen)
+ chainConfig := &params.ChainConfig{HomesteadBlock: new(big.Int)}
+ gchain, _ := core.GenerateChain(chainConfig, genesis, sdb, poolTestBlocks, txPoolTestChainGen)
if _, err := blockchain.InsertChain(gchain); err != nil {
panic(err)
}