[release/1.4.10] accounts, core, eth: pass chain config for chain maker to test DAO

(cherry picked from commit 3291235711)
This commit is contained in:
Péter Szilágyi
2016-07-14 18:17:03 +03:00
parent 14bad7e212
commit b8c0883770
17 changed files with 182 additions and 133 deletions

View File

@ -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: