mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-17 18:30:45 +00:00
Update defaults.go
This commit is contained in:
parent
079e4e16d5
commit
72fb654a13
1 changed files with 2 additions and 2 deletions
|
|
@ -55,9 +55,9 @@ func DefaultDataDir() string {
|
||||||
home := homeDir()
|
home := homeDir()
|
||||||
if home != "" {
|
if home != "" {
|
||||||
if runtime.GOOS == "darwin" {
|
if runtime.GOOS == "darwin" {
|
||||||
return filepath.Join(home, "Library", "XDPoSChain")
|
return filepath.Join(home, "Library", "XDCchain")
|
||||||
} else if runtime.GOOS == "windows" {
|
} else if runtime.GOOS == "windows" {
|
||||||
return filepath.Join(home, "AppData", "Roaming", "XDPoSChain")
|
return filepath.Join(home, "AppData", "Roaming", "XDCchain")
|
||||||
} else {
|
} else {
|
||||||
return filepath.Join(home, ".XDC")
|
return filepath.Join(home, ".XDC")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue