diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-14 23:17:03 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-07-15 21:52:55 +0800 |
commit | 3291235711082759cd7b70253c02150a80d57011 (patch) | |
tree | d8124891fb563f5143a156f415ae7ee7e6a30683 /core/chain_pow_test.go | |
parent | 461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (diff) | |
download | go-tangerine-3291235711082759cd7b70253c02150a80d57011.tar.gz go-tangerine-3291235711082759cd7b70253c02150a80d57011.tar.zst go-tangerine-3291235711082759cd7b70253c02150a80d57011.zip |
accounts, core, eth: pass chain config for chain maker to test DAO
Diffstat (limited to 'core/chain_pow_test.go')
-rw-r--r-- | core/chain_pow_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/chain_pow_test.go b/core/chain_pow_test.go index d2b0bd144..2e26c8211 100644 --- a/core/chain_pow_test.go +++ b/core/chain_pow_test.go @@ -60,7 +60,7 @@ func TestPowVerification(t *testing.T) { var ( testdb, _ = ethdb.NewMemDatabase() genesis = GenesisBlockForTesting(testdb, common.Address{}, new(big.Int)) - blocks, _ = GenerateChain(genesis, testdb, 8, nil) + blocks, _ = GenerateChain(nil, genesis, testdb, 8, nil) ) headers := make([]*types.Header, len(blocks)) for i, block := range blocks { @@ -115,7 +115,7 @@ func testPowConcurrentVerification(t *testing.T, threads int) { var ( testdb, _ = ethdb.NewMemDatabase() genesis = GenesisBlockForTesting(testdb, common.Address{}, new(big.Int)) - blocks, _ = GenerateChain(genesis, testdb, 8, nil) + blocks, _ = GenerateChain(nil, genesis, testdb, 8, nil) ) headers := make([]*types.Header, len(blocks)) for i, block := range blocks { @@ -186,7 +186,7 @@ func testPowConcurrentAbortion(t *testing.T, threads int) { var ( testdb, _ = ethdb.NewMemDatabase() genesis = GenesisBlockForTesting(testdb, common.Address{}, new(big.Int)) - blocks, _ = GenerateChain(genesis, testdb, 1024, nil) + blocks, _ = GenerateChain(nil, genesis, testdb, 1024, nil) ) headers := make([]*types.Header, len(blocks)) for i, block := range blocks { |