Explorar o código

cmd/utils: disable caching preimages by default

Péter Szilágyi %!s(int64=4) %!d(string=hai) anos
pai
achega
ca76db6116
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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{