good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit ef506520 authored by Igor Mandrigin's avatar Igor Mandrigin Committed by GitHub
Browse files

Fix `geth export` and other auxiliary commands. (#446)

They tries to initialized the pruner but the configuration was incorrect.
This commit disabled the pruner completely.
parent 2d7832c6
Branches
Tags
No related merge requests found
......@@ -1734,6 +1734,7 @@ func MakeChain(ctx *cli.Context, stack *node.Node) (chain *core.BlockChain, chai
}
}
cache := &core.CacheConfig{
Disabled: true, // no pruning for auxiliary commands
TrieCleanLimit: eth.DefaultConfig.TrieCleanCache,
TrieCleanNoPrefetch: ctx.GlobalBool(CacheNoPrefetchFlag.Name),
TrieDirtyLimit: eth.DefaultConfig.TrieDirtyCache,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment