diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-22 20:46:21 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-03-22 20:46:21 +0800 |
commit | 2477d10aa0ac80b0735f3069a214c804cd6be957 (patch) | |
tree | 48a2f82df00ba11542e42a88758876920132bb4a /common/common.go | |
parent | c0741edc34c3d09b69c7a64a97aaca0e7759add1 (diff) | |
download | go-tangerine-2477d10aa0ac80b0735f3069a214c804cd6be957.tar go-tangerine-2477d10aa0ac80b0735f3069a214c804cd6be957.tar.gz go-tangerine-2477d10aa0ac80b0735f3069a214c804cd6be957.tar.bz2 go-tangerine-2477d10aa0ac80b0735f3069a214c804cd6be957.tar.lz go-tangerine-2477d10aa0ac80b0735f3069a214c804cd6be957.tar.xz go-tangerine-2477d10aa0ac80b0735f3069a214c804cd6be957.tar.zst go-tangerine-2477d10aa0ac80b0735f3069a214c804cd6be957.zip |
Move MakeName to path
Diffstat (limited to 'common/common.go')
-rw-r--r-- | common/common.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/common/common.go b/common/common.go index b5eacfdb7..6c5a69d18 100644 --- a/common/common.go +++ b/common/common.go @@ -3,17 +3,9 @@ package common import ( "fmt" "math/big" - "runtime" "time" ) -// MakeName creates a node name that follows the ethereum convention -// for such names. It adds the operation system name and Go runtime version -// the name. -func MakeName(name, version string) string { - return fmt.Sprintf("%s/v%s/%s/%s", name, version, runtime.GOOS, runtime.Version()) -} - // Common big integers often used var ( Big1 = big.NewInt(1) |