cmd/utils: disallow `--fakepow` for live operation (#3512)

pull/3487/merge
Péter Szilágyi 8 years ago committed by Felix Lange
parent 08eea0f0e4
commit 06b381d1c9
  1. 1
      cmd/utils/flags.go

@ -749,7 +749,6 @@ func RegisterEthService(ctx *cli.Context, stack *node.Node, extra []byte) {
GpobaseCorrectionFactor: ctx.GlobalInt(GpobaseCorrectionFactorFlag.Name), GpobaseCorrectionFactor: ctx.GlobalInt(GpobaseCorrectionFactorFlag.Name),
SolcPath: ctx.GlobalString(SolcPathFlag.Name), SolcPath: ctx.GlobalString(SolcPathFlag.Name),
AutoDAG: ctx.GlobalBool(AutoDAGFlag.Name) || ctx.GlobalBool(MiningEnabledFlag.Name), AutoDAG: ctx.GlobalBool(AutoDAGFlag.Name) || ctx.GlobalBool(MiningEnabledFlag.Name),
PowFake: ctx.GlobalBool(FakePoWFlag.Name),
} }
// Override any default configs in dev mode or the test net // Override any default configs in dev mode or the test net

Loading…
Cancel
Save