Skip to content

Commit d9d2a4e

Browse files
committed
cmd/geth: remove network id from version cmd
It was reflective only of the Default setting, and not chain aware.
1 parent 9d67222 commit d9d2a4e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

cmd/geth/misccmd.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ func version(ctx *cli.Context) error {
117117
}
118118
fmt.Println("Architecture:", runtime.GOARCH)
119119
fmt.Println("Protocol Versions:", eth.ProtocolVersions)
120-
fmt.Println("Network Id:", eth.DefaultConfig.NetworkId)
121120
fmt.Println("Go Version:", runtime.Version())
122121
fmt.Println("Operating System:", runtime.GOOS)
123122
fmt.Printf("GOPATH=%s\n", os.Getenv("GOPATH"))

0 commit comments

Comments
 (0)