cmd/geth: remove network id from version cmd

It was reflective only of the Default setting,
and not chain aware.
This commit is contained in:
meows 2019-11-25 06:17:45 -05:00
parent 9d67222f4e
commit d9d2a4eef9
No known key found for this signature in database
GPG Key ID: 5786AEA5C8D5A520

View File

@ -117,7 +117,6 @@ func version(ctx *cli.Context) error {
} }
fmt.Println("Architecture:", runtime.GOARCH) fmt.Println("Architecture:", runtime.GOARCH)
fmt.Println("Protocol Versions:", eth.ProtocolVersions) fmt.Println("Protocol Versions:", eth.ProtocolVersions)
fmt.Println("Network Id:", eth.DefaultConfig.NetworkId)
fmt.Println("Go Version:", runtime.Version()) fmt.Println("Go Version:", runtime.Version())
fmt.Println("Operating System:", runtime.GOOS) fmt.Println("Operating System:", runtime.GOOS)
fmt.Printf("GOPATH=%s\n", os.Getenv("GOPATH")) fmt.Printf("GOPATH=%s\n", os.Getenv("GOPATH"))