aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler_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 /eth/handler_test.go
parent461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (diff)
downloadgo-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 'eth/handler_test.go')
-rw-r--r--eth/handler_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/handler_test.go b/eth/handler_test.go
index d5b1bf350..60a642130 100644
--- a/eth/handler_test.go
+++ b/eth/handler_test.go
@@ -630,7 +630,7 @@ func testDAOChallenge(t *testing.T, localForked, remoteForked bool, timeout bool
}
// Create a block to reply to the challenge if no timeout is simualted
if !timeout {
- blocks, _ := core.GenerateChain(genesis, db, 1, func(i int, block *core.BlockGen) {
+ blocks, _ := core.GenerateChain(nil, genesis, db, 1, func(i int, block *core.BlockGen) {
if remoteForked {
block.SetExtra(params.DAOForkBlockExtra)
}