diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-07-14 23:17:03 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-07-15 21:52:55 +0800 |
commit | 3291235711082759cd7b70253c02150a80d57011 (patch) | |
tree | d8124891fb563f5143a156f415ae7ee7e6a30683 /eth/fetcher | |
parent | 461cdb593b9e5bd9ae9ac35c68809a3a29290dcb (diff) | |
download | go-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 'eth/fetcher')
-rw-r--r-- | eth/fetcher/fetcher_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/fetcher/fetcher_test.go b/eth/fetcher/fetcher_test.go index 2404c8cfa..6a32be14c 100644 --- a/eth/fetcher/fetcher_test.go +++ b/eth/fetcher/fetcher_test.go @@ -45,7 +45,7 @@ var ( // contains a transaction and every 5th an uncle to allow testing correct block // reassembly. func makeChain(n int, seed byte, parent *types.Block) ([]common.Hash, map[common.Hash]*types.Block) { - blocks, _ := core.GenerateChain(parent, testdb, n, func(i int, block *core.BlockGen) { + blocks, _ := core.GenerateChain(nil, parent, testdb, n, func(i int, block *core.BlockGen) { block.SetCoinbase(common.Address{seed}) // If the block number is multiple of 3, send a bonus transaction to the miner |