let regenrate snapshot for cli

feature/state_pruning_codes
“GheisMohammadi” 2 years ago
parent 02f8f49634
commit 5621ca98f0
No known key found for this signature in database
GPG Key ID: 15073AED3829FE90
  1. 2
      core/state/pruner/pruner.go

@ -90,7 +90,7 @@ func NewPruner(db ethdb.Database, config Config) (*Pruner, error) {
snapconfig := snapshot.Config{ snapconfig := snapshot.Config{
CacheSize: 256, CacheSize: 256,
Recovery: false, Recovery: false,
NoBuild: true, NoBuild: false,
AsyncBuild: false, AsyncBuild: false,
} }
snaptree, err := snapshot.New(snapconfig, db, trie.NewDatabase(db), headBlock.Root()) snaptree, err := snapshot.New(snapconfig, db, trie.NewDatabase(db), headBlock.Root())

Loading…
Cancel
Save