Jelajahi Sumber

cmd/geth: fixed to use proper version string for output

Jeffrey Wilcke 9 tahun lalu
induk
melakukan
14d5033c9d
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      cmd/geth/main.go

+ 1 - 1
cmd/geth/main.go

@@ -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())