diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/geth/config.go | 4 | ||||
-rw-r--r-- | cmd/geth/main.go | 1 | ||||
-rw-r--r-- | cmd/utils/flags.go | 4 |
3 files changed, 0 insertions, 9 deletions
diff --git a/cmd/geth/config.go b/cmd/geth/config.go index 3b63d6913..ef26f250e 100644 --- a/cmd/geth/config.go +++ b/cmd/geth/config.go @@ -20,7 +20,6 @@ import ( "bufio" "errors" "fmt" - "math/big" "os" "reflect" "unicode" @@ -153,9 +152,6 @@ func enableWhisper(ctx *cli.Context) bool { func makeFullNode(ctx *cli.Context) *node.Node { stack, cfg := makeConfigNode(ctx) - if ctx.GlobalIsSet(utils.ConstantinopleOverrideFlag.Name) { - cfg.Eth.ConstantinopleOverride = new(big.Int).SetUint64(ctx.GlobalUint64(utils.ConstantinopleOverrideFlag.Name)) - } utils.RegisterEthService(stack, &cfg.Eth) if ctx.GlobalBool(utils.DashboardEnabledFlag.Name) { diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 7e94da1f5..414900b45 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -138,7 +138,6 @@ var ( utils.GoerliFlag, utils.VMEnableDebugFlag, utils.NetworkIdFlag, - utils.ConstantinopleOverrideFlag, utils.EthStatsURLFlag, utils.FakePoWFlag, utils.NoCompactionFlag, diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 8d94539ab..f928edc0f 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -155,10 +155,6 @@ var ( Name: "goerli", Usage: "Görli network: pre-configured proof-of-authority test network", } - ConstantinopleOverrideFlag = cli.Uint64Flag{ - Name: "override.constantinople", - Usage: "Manually specify constantinople fork-block, overriding the bundled setting", - } DeveloperFlag = cli.BoolFlag{ Name: "dev", Usage: "Ephemeral proof-of-authority network with a pre-funded developer account, mining enabled", |