Преглед изворни кода

cmd/utils: disable caching preimages by default

Péter Szilágyi пре 4 година
родитељ
комит
ca76db6116
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      cmd/utils/flags.go

+ 2 - 2
cmd/utils/flags.go

@@ -401,9 +401,9 @@ var (
 		Name:  "cache.noprefetch",
 		Usage: "Disable heuristic state prefetch during block import (less CPU and disk IO, more time waiting for data)",
 	}
-	CachePreimagesFlag = cli.BoolTFlag{
+	CachePreimagesFlag = cli.BoolFlag{
 		Name:  "cache.preimages",
-		Usage: "Enable recording the SHA3/keccak preimages of trie keys (default: true)",
+		Usage: "Enable recording the SHA3/keccak preimages of trie keys",
 	}
 	// Miner settings
 	MiningEnabledFlag = cli.BoolFlag{