aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2016-04-04 17:04:04 +0800
committerPéter Szilágyi <peterke@gmail.com>2016-04-04 17:04:04 +0800
commitc90fc3503d03ef78c4dbf68f8907c57e7b75fa30 (patch)
tree239ada6d1ca8a9dba07e7ff6090c62f51ba85c68
parent96c7c39ae4a031a508b0470ff2b1a95f0f3f9e51 (diff)
downloaddexon-c90fc3503d03ef78c4dbf68f8907c57e7b75fa30.tar.gz
dexon-c90fc3503d03ef78c4dbf68f8907c57e7b75fa30.tar.zst
dexon-c90fc3503d03ef78c4dbf68f8907c57e7b75fa30.zip
cmd/geth: add missing gas target flag (fixing 0 convergence issue)
-rw-r--r--cmd/geth/main.go1
-rw-r--r--cmd/geth/usage.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go
index 3a6366f4d..645743c13 100644
--- a/cmd/geth/main.go
+++ b/cmd/geth/main.go
@@ -312,6 +312,7 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso
utils.MiningEnabledFlag,
utils.MiningGPUFlag,
utils.AutoDAGFlag,
+ utils.TargetGasLimitFlag,
utils.NATFlag,
utils.NatspecEnabledFlag,
utils.NoDiscoverFlag,
diff --git a/cmd/geth/usage.go b/cmd/geth/usage.go
index a31532bea..e2adf7305 100644
--- a/cmd/geth/usage.go
+++ b/cmd/geth/usage.go
@@ -121,10 +121,10 @@ var AppHelpFlagGroups = []flagGroup{
Flags: []cli.Flag{
utils.MiningEnabledFlag,
utils.MinerThreadsFlag,
- utils.TargetGasLimitFlag,
utils.MiningGPUFlag,
utils.AutoDAGFlag,
utils.EtherbaseFlag,
+ utils.TargetGasLimitFlag,
utils.GasPriceFlag,
utils.ExtraDataFlag,
},