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

This commit is contained in:
Péter Szilágyi 2017-01-05 12:40:56 +02:00 committed by Felix Lange
parent 08eea0f0e4
commit 06b381d1c9
1 changed files with 0 additions and 1 deletions

View File

@ -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