cmd/geth: remove network id from version cmd

It was reflective only of the Default setting,
and not chain aware.
pull/20385/head
meows 5 years ago
parent 9d67222f4e
commit d9d2a4eef9
No known key found for this signature in database
GPG Key ID: 5786AEA5C8D5A520
  1. 1
      cmd/geth/misccmd.go

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

Loading…
Cancel
Save