aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_makers_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/chain_makers_test.go
parent461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (diff)
downloaddexon-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/chain_makers_test.go')
-rw-r--r--core/chain_makers_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go
index 32c3efe8d..f52b09ad9 100644
--- a/core/chain_makers_test.go
+++ b/core/chain_makers_test.go
@@ -47,7 +47,7 @@ func ExampleGenerateChain() {
// This call generates a chain of 5 blocks. The function runs for
// each block and adds different features to gen based on the
// block index.
- chain, _ := GenerateChain(genesis, db, 5, func(i int, gen *BlockGen) {
+ chain, _ := GenerateChain(nil, genesis, db, 5, func(i int, gen *BlockGen) {
switch i {
case 0:
// In block 1, addr1 sends addr2 some ether.