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)
downloaddexon-24b9860c1bc214d2db943bc69117818311406bdb.tar.gz
dexon-24b9860c1bc214d2db943bc69117818311406bdb.tar.zst
dexon-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
}