aboutsummaryrefslogtreecommitdiffstats
path: root/node/config.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-04-06 03:51:01 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-04-06 03:51:01 +0800
commit24b9860c1bc214d2db943bc69117818311406bdb (patch)
tree967fc20530c0c00fc1670afcc50ea17260b95260 /node/config.go
parentcc303017c3f145441e583b5bb10ee3070b44cc50 (diff)
downloadgo-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar
go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.gz
go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.bz2
go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.lz
go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.xz
go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.tar.zst
go-tangerine-24b9860c1bc214d2db943bc69117818311406bdb.zip
cmd/geth, node: surface geth architecture into version (#13866)
Diffstat (limited to 'node/config.go')
-rw-r--r--node/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/config.go b/node/config.go
index 608c9a6b4..b060b05f2 100644
--- a/node/config.go
+++ b/node/config.go
@@ -266,7 +266,7 @@ func (c *Config) NodeName() string {
if c.Version != "" {
name += "/v" + c.Version
}
- name += "/" + runtime.GOOS
+ name += "/" + runtime.GOOS + "-" + runtime.GOARCH
name += "/" + runtime.Version()
return name
}