aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2015-06-26 21:54:27 +0800
committerPéter Szilágyi <peterke@gmail.com>2015-07-01 00:00:00 +0800
commit393d675690923207746ac800568faacae723f251 (patch)
tree9cd743d6f58f34c6635248979f3b45b458b721f4 /cmd/utils
parentba95e445e16481ea7a94a462347def19b0c2bf2c (diff)
downloaddexon-393d675690923207746ac800568faacae723f251.tar
dexon-393d675690923207746ac800568faacae723f251.tar.gz
dexon-393d675690923207746ac800568faacae723f251.tar.bz2
dexon-393d675690923207746ac800568faacae723f251.tar.lz
dexon-393d675690923207746ac800568faacae723f251.tar.xz
dexon-393d675690923207746ac800568faacae723f251.tar.zst
dexon-393d675690923207746ac800568faacae723f251.zip
cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index 0d59980ec..6f319eb40 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -82,11 +82,6 @@ var (
Usage: "Data directory to be used",
Value: DirectoryString{common.DefaultDataDir()},
}
- ProtocolVersionFlag = cli.IntFlag{
- Name: "protocolversion",
- Usage: "ETH protocol version (integer)",
- Value: eth.ProtocolVersion,
- }
NetworkIdFlag = cli.IntFlag{
Name: "networkid",
Usage: "Network Id (integer)",
@@ -359,7 +354,6 @@ func MakeEthConfig(clientID, version string, ctx *cli.Context) *eth.Config {
return &eth.Config{
Name: common.MakeName(clientID, version),
DataDir: ctx.GlobalString(DataDirFlag.Name),
- ProtocolVersion: ctx.GlobalInt(ProtocolVersionFlag.Name),
GenesisNonce: ctx.GlobalInt(GenesisNonceFlag.Name),
BlockChainVersion: ctx.GlobalInt(BlockchainVersionFlag.Name),
SkipBcVersionCheck: false,