aboutsummaryrefslogtreecommitdiffstats
path: root/core/bench_test.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-07-14 23:17:03 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-07-15 21:52:55 +0800
commit3291235711082759cd7b70253c02150a80d57011 (patch)
treed8124891fb563f5143a156f415ae7ee7e6a30683 /core/bench_test.go
parent461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (diff)
downloaddexon-3291235711082759cd7b70253c02150a80d57011.tar
dexon-3291235711082759cd7b70253c02150a80d57011.tar.gz
dexon-3291235711082759cd7b70253c02150a80d57011.tar.bz2
dexon-3291235711082759cd7b70253c02150a80d57011.tar.lz
dexon-3291235711082759cd7b70253c02150a80d57011.tar.xz
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.go2
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.