aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2019-04-16 18:20:38 +0800
committerPéter Szilágyi <peterke@gmail.com>2019-04-17 19:56:58 +0800
commitd8787230faa07e078a183765271313a7d2c6bdf2 (patch)
treed31d955dd0cc0b44a7ba5a9ee0097f8e148e0db5 /cmd
parentcdae1c59abc32f85debfa29577fbf1ed036ebf73 (diff)
downloadgo-tangerine-d8787230faa07e078a183765271313a7d2c6bdf2.tar
go-tangerine-d8787230faa07e078a183765271313a7d2c6bdf2.tar.gz
go-tangerine-d8787230faa07e078a183765271313a7d2c6bdf2.tar.bz2
go-tangerine-d8787230faa07e078a183765271313a7d2c6bdf2.tar.lz
go-tangerine-d8787230faa07e078a183765271313a7d2c6bdf2.tar.xz
go-tangerine-d8787230faa07e078a183765271313a7d2c6bdf2.tar.zst
go-tangerine-d8787230faa07e078a183765271313a7d2c6bdf2.zip
eth, les, light: enforce CHT checkpoints on fast-sync too
Diffstat (limited to 'cmd')
-rw-r--r--cmd/geth/chaincmd.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/chaincmd.go b/cmd/geth/chaincmd.go
index 562c7e0de..f0184e606 100644
--- a/cmd/geth/chaincmd.go
+++ b/cmd/geth/chaincmd.go
@@ -372,7 +372,7 @@ func copyDb(ctx *cli.Context) error {
chain, chainDb := utils.MakeChain(ctx, stack)
syncmode := *utils.GlobalTextMarshaler(ctx, utils.SyncModeFlag.Name).(*downloader.SyncMode)
- dl := downloader.New(syncmode, chainDb, new(event.TypeMux), chain, nil, nil)
+ dl := downloader.New(syncmode, 0, chainDb, new(event.TypeMux), chain, nil, nil)
// Create a source peer to satisfy downloader requests from
db, err := ethdb.NewLDBDatabase(ctx.Args().First(), ctx.GlobalInt(utils.CacheFlag.Name), 256)