Merge pull request #2511 from obscuren/ver-fix

cmd/geth: fixed to use proper version string for output
This commit is contained in:
Jeffrey Wilcke 2016-05-03 14:04:53 +02:00
commit 2d7d7ef2fe

View File

@ -507,7 +507,7 @@ func gpubench(ctx *cli.Context) {
func version(c *cli.Context) {
fmt.Println(clientIdentifier)
fmt.Println("Version:", version)
fmt.Println("Version:", verString)
fmt.Println("Protocol Versions:", eth.ProtocolVersions)
fmt.Println("Network Id:", c.GlobalInt(utils.NetworkIdFlag.Name))
fmt.Println("Go Version:", runtime.Version())