aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils/flags.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r--cmd/utils/flags.go16
1 files changed, 0 insertions, 16 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index abd344df0..01a742d85 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -177,15 +177,6 @@ var (
Usage: "Number of trie node generations to keep in memory",
Value: int(state.MaxTrieCacheGen),
}
- // Fork settings
- SupportDAOFork = cli.BoolFlag{
- Name: "support-dao-fork",
- Usage: "Updates the chain rules to support the DAO hard-fork",
- }
- OpposeDAOFork = cli.BoolFlag{
- Name: "oppose-dao-fork",
- Usage: "Updates the chain rules to oppose the DAO hard-fork",
- }
// Miner settings
MiningEnabledFlag = cli.BoolFlag{
Name: "mine",
@@ -901,13 +892,6 @@ func MakeChainConfigFromDb(ctx *cli.Context, db ethdb.Database) *params.ChainCon
config.ChainId = params.MainNetChainID
}
}
- // Force override any existing configs if explicitly requested
- switch {
- case ctx.GlobalBool(SupportDAOFork.Name):
- config.DAOForkSupport = true
- case ctx.GlobalBool(OpposeDAOFork.Name):
- config.DAOForkSupport = false
- }
return config
}