diff options
author | Péter Szilágyi <peterke@gmail.com> | 2015-06-26 21:54:27 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2015-07-01 00:00:00 +0800 |
commit | 393d675690923207746ac800568faacae723f251 (patch) | |
tree | 9cd743d6f58f34c6635248979f3b45b458b721f4 /cmd/geth | |
parent | ba95e445e16481ea7a94a462347def19b0c2bf2c (diff) | |
download | dexon-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/geth')
-rw-r--r-- | cmd/geth/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index c46343a60..a7b769270 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -261,7 +261,6 @@ JavaScript API. See https://github.com/ethereum/go-ethereum/wiki/Javascipt-Conso utils.ExecFlag, utils.WhisperEnabledFlag, utils.VMDebugFlag, - utils.ProtocolVersionFlag, utils.NetworkIdFlag, utils.RPCCORSDomainFlag, utils.VerbosityFlag, @@ -598,7 +597,7 @@ func version(c *cli.Context) { if gitCommit != "" { fmt.Println("Git Commit:", gitCommit) } - fmt.Println("Protocol Version:", c.GlobalInt(utils.ProtocolVersionFlag.Name)) + fmt.Println("Protocol Versions:", eth.ProtocolVersions) fmt.Println("Network Id:", c.GlobalInt(utils.NetworkIdFlag.Name)) fmt.Println("Go Version:", runtime.Version()) fmt.Println("OS:", runtime.GOOS) |