mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
p2p lib updated
This commit is contained in:
parent
5f3dbbc81f
commit
969f18b06c
2 changed files with 4 additions and 4 deletions
|
|
@ -55,11 +55,11 @@ func DefaultDataDir() string {
|
||||||
home := homeDir()
|
home := homeDir()
|
||||||
if home != "" {
|
if home != "" {
|
||||||
if runtime.GOOS == "darwin" {
|
if runtime.GOOS == "darwin" {
|
||||||
return filepath.Join(home, "Library", "Ethereum")
|
return filepath.Join(home, "Library", "XDCchain")
|
||||||
} else if runtime.GOOS == "windows" {
|
} else if runtime.GOOS == "windows" {
|
||||||
return filepath.Join(home, "AppData", "Roaming", "Ethereum")
|
return filepath.Join(home, "AppData", "Roaming", "XDCchain")
|
||||||
} else {
|
} else {
|
||||||
return filepath.Join(home, ".ethereum")
|
return filepath.Join(home, ".XDC")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// As we cannot guess a stable location, return empty and handle later
|
// As we cannot guess a stable location, return empty and handle later
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue