diff options
author | BJ4 <bojie@dexon.org> | 2018-11-09 12:08:17 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:53 +0800 |
commit | 07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8 (patch) | |
tree | e045d29c9b1b9cd074a51ba8ef9eebe9a7e8c15e /core/dao_test.go | |
parent | 39ccaa58fd25cac9d2f85823f2ea56cd65cb06b7 (diff) | |
download | dexon-07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8.tar dexon-07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8.tar.gz dexon-07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8.tar.bz2 dexon-07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8.tar.lz dexon-07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8.tar.xz dexon-07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8.tar.zst dexon-07da8c75d1a8f9557f73eff4d6cb74e4047ea7b8.zip |
app: fix core test
Diffstat (limited to 'core/dao_test.go')
-rw-r--r-- | core/dao_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dao_test.go b/core/dao_test.go index f7b8d8576..785aab5f2 100644 --- a/core/dao_test.go +++ b/core/dao_test.go @@ -34,6 +34,7 @@ func TestDAOForkRangeExtradata(t *testing.T) { // Generate a common prefix for both pro-forkers and non-forkers db := ethdb.NewMemDatabase() gspec := new(Genesis) + gspec.Config = params.TestChainConfig genesis := gspec.MustCommit(db) prefix, _ := GenerateChain(params.TestChainConfig, genesis, ethash.NewFaker(), db, int(forkBlock.Int64()-1), func(i int, gen *BlockGen) {}) |