mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-23 07:04:35 +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()
|
||||
if home != "" {
|
||||
if runtime.GOOS == "darwin" {
|
||||
return filepath.Join(home, "Library", "XDPoSChain")
|
||||
return filepath.Join(home, "Library", "XDCchain")
|
||||
} else if runtime.GOOS == "windows" {
|
||||
return filepath.Join(home, "AppData", "Roaming", "XDPoSChain")
|
||||
return filepath.Join(home, "AppData", "Roaming", "XDCchain")
|
||||
} else {
|
||||
return filepath.Join(home, ".XDC")
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue