aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/flags.go
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-07-21 20:30:37 +0800
committerzelig <viktor.tron@gmail.com>2014-07-21 20:30:37 +0800
commit4d5a890b46a75fb644277bbf2a8c034cf2a13424 (patch)
tree7d37fddbcdbd218fe6e0e216aa3554380229d133 /ethereal/flags.go
parent75a7a4c97c350e911f4d721e940a59c0740ae967 (diff)
parentf702e27485981562ed7b88ecd3f8485af4c61b62 (diff)
downloaddexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar
dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.gz
dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.bz2
dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.lz
dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.xz
dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.tar.zst
dexon-4d5a890b46a75fb644277bbf2a8c034cf2a13424.zip
merge upstream
Diffstat (limited to 'ethereal/flags.go')
-rw-r--r--ethereal/flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethereal/flags.go b/ethereal/flags.go
index d5ca9f336..c9327c3d3 100644
--- a/ethereal/flags.go
+++ b/ethereal/flags.go
@@ -36,6 +36,7 @@ var LogLevel int
// flags specific to gui client
var AssetPath string
+//TODO: If we re-use the one defined in cmd.go the binary osx image crashes. If somebody finds out why we can dry this up.
func defaultAssetPath() string {
var assetPath string
// If the current working directory is the go-ethereum dir
@@ -60,7 +61,6 @@ func defaultAssetPath() string {
}
return assetPath
}
-
func defaultDataDir() string {
usr, _ := user.Current()
return path.Join(usr.HomeDir, ".ethereal")