From cf2fb086efa2cb766bed3cfbe3bbbdc94c03b5a9 Mon Sep 17 00:00:00 2001 From: niuxiaojie81 <85773309@qq.com> Date: Mon, 30 Oct 2023 16:23:32 +0800 Subject: [PATCH] snapshot enable by default --- cmd/utils/flags.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 6d018d449d..d8a81ba536 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -282,9 +282,9 @@ var ( Usage: "Time interval to regenerate the trie cache journal", Value: ethconfig.Defaults.TrieCleanCacheRejournal, } - SnapshotFlag = cli.BoolFlag{ + SnapshotFlag = cli.BoolTFlag{ Name: "snapshot", - Usage: `Enables snapshot-database mode`, + Usage: `Enables snapshot-database mode (default = enable)`, } BloomFilterSizeFlag = cli.Uint64Flag{ Name: "bloomfilter.size",