diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-13 13:56:43 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:39 +0800 |
commit | 533e2f705c798743d0fa0b4e61815389593f312e (patch) | |
tree | 30f19f89992fd2b002ba59e01484a590a56a6efe | |
parent | e205d3e8dbc0e6e8878dd184afcfee931260a11f (diff) | |
download | go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar.gz go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.tar.zst go-tangerine-533e2f705c798743d0fa0b4e61815389593f312e.zip |
node: change default datadir folder name to dexon
-rw-r--r-- | node/defaults.go | 6 |
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 |