diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-11-29 21:50:27 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-11-29 21:50:27 +0800 |
commit | 7267f796e673a11fae3b6eda4bea19a8331f6c75 (patch) | |
tree | 971e8b9337fb40ef36f8898f74b6224f660f8fc1 /cmd/utils/flags.go | |
parent | 3807e520ec99dce5dc6ef28b237cd4be4a0992fe (diff) | |
download | go-tangerine-7267f796e673a11fae3b6eda4bea19a8331f6c75.tar.gz go-tangerine-7267f796e673a11fae3b6eda4bea19a8331f6c75.tar.zst go-tangerine-7267f796e673a11fae3b6eda4bea19a8331f6c75.zip |
cmd: drop DAO related choice flags since ETC diverged
Diffstat (limited to 'cmd/utils/flags.go')
-rw-r--r-- | cmd/utils/flags.go | 16 |
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 } |