From 5621ca98f02e5b08f89db88f99aab7e869bd0eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CGheisMohammadi=E2=80=9D?= <36589218+GheisMohammadi@users.noreply.github.com> Date: Tue, 2 May 2023 07:20:14 +0800 Subject: [PATCH] let regenrate snapshot for cli --- core/state/pruner/pruner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/state/pruner/pruner.go b/core/state/pruner/pruner.go index 9c767e326..fbe10d581 100644 --- a/core/state/pruner/pruner.go +++ b/core/state/pruner/pruner.go @@ -90,7 +90,7 @@ func NewPruner(db ethdb.Database, config Config) (*Pruner, error) { snapconfig := snapshot.Config{ CacheSize: 256, Recovery: false, - NoBuild: true, + NoBuild: false, AsyncBuild: false, } snaptree, err := snapshot.New(snapconfig, db, trie.NewDatabase(db), headBlock.Root())