aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2016-07-16 18:08:16 +0800
committerGitHub <noreply@github.com>2016-07-16 18:08:16 +0800
commita4c4125b1155d9276614029163b498a17643f0f2 (patch)
tree328c438483cb7c87333190605ec1ef79cfa162a6 /eth/downloader/downloader_test.go
parentaa1e052cb41c39363a9930added46dac5b6db832 (diff)
parent993b41216092fa6dc20d3755afe322cd1376b398 (diff)
downloadgo-tangerine-a4c4125b1155d9276614029163b498a17643f0f2.tar
go-tangerine-a4c4125b1155d9276614029163b498a17643f0f2.tar.gz
go-tangerine-a4c4125b1155d9276614029163b498a17643f0f2.tar.bz2
go-tangerine-a4c4125b1155d9276614029163b498a17643f0f2.tar.lz
go-tangerine-a4c4125b1155d9276614029163b498a17643f0f2.tar.xz
go-tangerine-a4c4125b1155d9276614029163b498a17643f0f2.tar.zst
go-tangerine-a4c4125b1155d9276614029163b498a17643f0f2.zip
Merge pull request #2814 from karalabe/dao-hard-finalcombo
cmd, core, eth, miner, params, tests: finalize the DAO fork
Diffstat (limited to 'eth/downloader/downloader_test.go')
-rw-r--r--eth/downloader/downloader_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go
index e9e051ded..fac6ef81c 100644
--- a/eth/downloader/downloader_test.go
+++ b/eth/downloader/downloader_test.go
@@ -55,7 +55,7 @@ func init() {
// reassembly.
func makeChain(n int, seed byte, parent *types.Block, parentReceipts types.Receipts, heavy bool) ([]common.Hash, map[common.Hash]*types.Header, map[common.Hash]*types.Block, map[common.Hash]types.Receipts) {
// Generate the block chain
- blocks, receipts := core.GenerateChain(parent, testdb, n, func(i int, block *core.BlockGen) {
+ blocks, receipts := core.GenerateChain(nil, parent, testdb, n, func(i int, block *core.BlockGen) {
block.SetCoinbase(common.Address{seed})
// If a heavy chain is requested, delay blocks to raise difficulty