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/bench_test.go | |
parent | 461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (diff) | |
download | dexon-3291235711082759cd7b70253c02150a80d57011.tar.gz dexon-3291235711082759cd7b70253c02150a80d57011.tar.zst dexon-3291235711082759cd7b70253c02150a80d57011.zip |
accounts, core, eth: pass chain config for chain maker to test DAO
Diffstat (limited to 'core/bench_test.go')
-rw-r--r-- | core/bench_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bench_test.go b/core/bench_test.go index c6029499a..344e7e3c5 100644 --- a/core/bench_test.go +++ b/core/bench_test.go @@ -163,7 +163,7 @@ func benchInsertChain(b *testing.B, disk bool, gen func(int, *BlockGen)) { // Generate a chain of b.N blocks using the supplied block // generator function. genesis := WriteGenesisBlockForTesting(db, GenesisAccount{benchRootAddr, benchRootFunds}) - chain, _ := GenerateChain(genesis, db, b.N, gen) + chain, _ := GenerateChain(nil, genesis, db, b.N, gen) // Time the insertion of the new chain. // State and blocks are stored in the same DB. |