aboutsummaryrefslogtreecommitdiffstats
path: root/core/database_util_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/database_util_test.go
parent461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (diff)
downloadgo-tangerine-3291235711082759cd7b70253c02150a80d57011.tar
go-tangerine-3291235711082759cd7b70253c02150a80d57011.tar.gz
go-tangerine-3291235711082759cd7b70253c02150a80d57011.tar.bz2
go-tangerine-3291235711082759cd7b70253c02150a80d57011.tar.lz
go-tangerine-3291235711082759cd7b70253c02150a80d57011.tar.xz
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/database_util_test.go')
-rw-r--r--core/database_util_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/database_util_test.go b/core/database_util_test.go
index 6c19f78c8..280270ac8 100644
--- a/core/database_util_test.go
+++ b/core/database_util_test.go
@@ -561,7 +561,7 @@ func TestMipmapChain(t *testing.T) {
defer db.Close()
genesis := WriteGenesisBlockForTesting(db, GenesisAccount{addr, big.NewInt(1000000)})
- chain, receipts := GenerateChain(genesis, db, 1010, func(i int, gen *BlockGen) {
+ chain, receipts := GenerateChain(nil, genesis, db, 1010, func(i int, gen *BlockGen) {
var receipts types.Receipts
switch i {
case 1: