aboutsummaryrefslogtreecommitdiffstats
path: root/node/defaults.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-13 13:56:43 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 13:49:52 +0800
commit58452caad55ab0db95a575e1a96e0128e6f5d002 (patch)
tree0d7b7abc0a7904135ccdeacd32f2a4a29db60a6a /node/defaults.go
parente9537c32c82dc7c635d749bd65c2248305badb3c (diff)
downloaddexon-58452caad55ab0db95a575e1a96e0128e6f5d002.tar.gz
dexon-58452caad55ab0db95a575e1a96e0128e6f5d002.tar.zst
dexon-58452caad55ab0db95a575e1a96e0128e6f5d002.zip
node: change default datadir folder name to dexon
Diffstat (limited to 'node/defaults.go')
-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