mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
dup assign
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
525aacbb53
commit
fef157dde2
1 changed files with 0 additions and 3 deletions
|
|
@ -2223,9 +2223,6 @@ func MakeChain(ctx *cli.Context, stack *node.Node, readonly bool) (*core.BlockCh
|
|||
if journal != "" {
|
||||
options.TrieDBJournal = stack.ResolvePath(journal)
|
||||
}
|
||||
if ctx.IsSet(TrieDBJournalFlag.Name) {
|
||||
options.TrieDBJournal = stack.ResolvePath(ctx.String(TrieDBJournalFlag.Name))
|
||||
}
|
||||
if !ctx.Bool(SnapshotFlag.Name) {
|
||||
options.SnapshotLimit = 0 // Disabled
|
||||
} else if ctx.IsSet(CacheFlag.Name) || ctx.IsSet(CacheSnapshotFlag.Name) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue