mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 07:37:20 +00:00
cmd/utils: fix DeveloperFlag handling when set to false (#33379)
geth --dev=false now correctly respects the false value, instead of incorrectly enabling UseLightweightKDF.
This commit is contained in:
parent
472e3a24ac
commit
16f50285b7
1 changed files with 1 additions and 1 deletions
|
|
@ -1430,7 +1430,7 @@ func SetNodeConfig(ctx *cli.Context, cfg *node.Config) {
|
|||
cfg.KeyStoreDir = ctx.String(KeyStoreDirFlag.Name)
|
||||
}
|
||||
if ctx.IsSet(DeveloperFlag.Name) {
|
||||
cfg.UseLightweightKDF = true
|
||||
cfg.UseLightweightKDF = ctx.Bool(DeveloperFlag.Name)
|
||||
}
|
||||
if ctx.IsSet(LightKDFFlag.Name) {
|
||||
cfg.UseLightweightKDF = ctx.Bool(LightKDFFlag.Name)
|
||||
|
|
|
|||
Loading…
Reference in a new issue