diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-10-24 18:40:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-24 18:40:42 +0800 |
commit | 6d6a5a93370371a33fb815d7ae47b60c7021c86a (patch) | |
tree | aa73dff1db3aa2566c2e74cf9ac37f13878fae80 /cmd/geth/config.go | |
parent | ea5f2da39ad198e58107a79214419e31988c5e5a (diff) | |
download | dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.gz dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.bz2 dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.lz dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.xz dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.tar.zst dexon-6d6a5a93370371a33fb815d7ae47b60c7021c86a.zip |
cmd, consensus, core, miner: instatx clique for --dev (#15323)
* cmd, consensus, core, miner: instatx clique for --dev
* cmd, consensus, clique: support configurable --dev block times
* cmd, core: allow --dev to use persistent storage too
Diffstat (limited to 'cmd/geth/config.go')
-rw-r--r-- | cmd/geth/config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/config.go b/cmd/geth/config.go index d3600f141..d55a5e08d 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -155,7 +155,7 @@ func makeFullNode(ctx *cli.Context) *node.Node { // Whisper must be explicitly enabled by specifying at least 1 whisper flag or in dev mode shhEnabled := enableWhisper(ctx) - shhAutoEnabled := !ctx.GlobalIsSet(utils.WhisperEnabledFlag.Name) && ctx.GlobalIsSet(utils.DevModeFlag.Name) + shhAutoEnabled := !ctx.GlobalIsSet(utils.WhisperEnabledFlag.Name) && ctx.GlobalIsSet(utils.DeveloperFlag.Name) if shhEnabled || shhAutoEnabled { if ctx.GlobalIsSet(utils.WhisperMaxMessageSizeFlag.Name) { cfg.Shh.MaxMessageSize = uint32(ctx.Int(utils.WhisperMaxMessageSizeFlag.Name)) |