mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 04:36:42 +00:00
cmd/utils: fix DeveloperFlag handling when set to false
This commit is contained in:
parent
e58c785424
commit
1ec7d92e7c
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)
|
cfg.KeyStoreDir = ctx.String(KeyStoreDirFlag.Name)
|
||||||
}
|
}
|
||||||
if ctx.IsSet(DeveloperFlag.Name) {
|
if ctx.IsSet(DeveloperFlag.Name) {
|
||||||
cfg.UseLightweightKDF = true
|
cfg.UseLightweightKDF = ctx.Bool(DeveloperFlag.Name)
|
||||||
}
|
}
|
||||||
if ctx.IsSet(LightKDFFlag.Name) {
|
if ctx.IsSet(LightKDFFlag.Name) {
|
||||||
cfg.UseLightweightKDF = ctx.Bool(LightKDFFlag.Name)
|
cfg.UseLightweightKDF = ctx.Bool(LightKDFFlag.Name)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue