aboutsummaryrefslogtreecommitdiffstats
path: root/node
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-13 13:56:43 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:23:39 +0800
commit533e2f705c798743d0fa0b4e61815389593f312e (patch)
tree30f19f89992fd2b002ba59e01484a590a56a6efe /node
parente205d3e8dbc0e6e8878dd184afcfee931260a11f (diff)
downloadgo-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar
go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar.gz
go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar.bz2
go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar.lz
go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar.xz
go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar.zst
go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.zip
node: change default datadir folder name to dexon
Diffstat (limited to 'node')
-rw-r--r--node/defaults.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/node/defaults.go b/node/defaults.go
index 6d7b6e155..ec4fc8039 100644
--- a/node/defaults.go
+++ b/node/defaults.go
@@ -57,11 +57,11 @@ func DefaultDataDir() string {
home := homeDir()
if home != "" {
if runtime.GOOS == "darwin" {
- return filepath.Join(home, "Library", "Ethereum")
+ return filepath.Join(home, "Library", "Dexon")
} else if runtime.GOOS == "windows" {
- return filepath.Join(home, "AppData", "Roaming", "Ethereum")
+ return filepath.Join(home, "AppData", "Roaming", "Dexon")
} else {
- return filepath.Join(home, ".ethereum")
+ return filepath.Join(home, ".dexon")
}
}
// As we cannot guess a stable location, return empty and handle later