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 18:16:15 +0800
commit38f6b8563828e089f1445bc703662e3ec4716fb9 (patch)
treee45588e5dce9994a177188e01b5a427a84c1220b /cmd
parent78d90c47f753d68c340a970f59338db91a465470 (diff)
downloadgo-tangerine-38f6b8563828e089f1445bc703662e3ec4716fb9.tar
go-tangerine-38f6b8563828e089f1445bc703662e3ec4716fb9.tar.gz
go-tangerine-38f6b8563828e089f1445bc703662e3ec4716fb9.tar.bz2
go-tangerine-38f6b8563828e089f1445bc703662e3ec4716fb9.tar.lz
go-tangerine-38f6b8563828e089f1445bc703662e3ec4716fb9.tar.xz
go-tangerine-38f6b8563828e089f1445bc703662e3ec4716fb9.tar.zst
go-tangerine-38f6b8563828e089f1445bc703662e3ec4716fb9.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 72aace1c6..21e4017fa 100644
--- a/cmd/geth/chaincmd.go
+++ b/cmd/geth/chaincmd.go
@@ -376,7 +376,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 := rawdb.NewLevelDBDatabase(ctx.Args().First(), ctx.GlobalInt(utils.CacheFlag.Name), 256, "")