Move p2p.MakeName to ethutil.MakeVersion

This commit is contained in:
Taylor Gerring committed 2015-03-02 13:21:57 -06:00
1 parent fb2488235a
commit e7b33e9ae7
4 files changed
+8 -13

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ import (
"github.com/kardianos/osext"
)
func MakeVersion(name, version string) string {
return fmt.Sprintf("%s/v%s/%s/%s", name, version, runtime.GOOS, runtime.Version())
}
func DefaultAssetPath() string {
var assetPath string
pwd, _ := os.Getwd()