From d9d2a4eef929b9f0e15ccbfd0850dd46c9bf9b66 Mon Sep 17 00:00:00 2001 From: meows Date: Mon, 25 Nov 2019 06:17:45 -0500 Subject: [PATCH] cmd/geth: remove network id from version cmd It was reflective only of the Default setting, and not chain aware. --- cmd/geth/misccmd.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cmd/geth/misccmd.go b/cmd/geth/misccmd.go index 39ca47872..0e7ee9651 100644 --- a/cmd/geth/misccmd.go +++ b/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"))