diff --git a/node/defaults.go b/node/defaults.go index 8875605807..396bc33025 100644 --- a/node/defaults.go +++ b/node/defaults.go @@ -55,11 +55,11 @@ func DefaultDataDir() string { home := homeDir() if home != "" { if runtime.GOOS == "darwin" { - return filepath.Join(home, "Library", "Ethereum") + return filepath.Join(home, "Library", "XDCchain") } else if runtime.GOOS == "windows" { - return filepath.Join(home, "AppData", "Roaming", "Ethereum") + return filepath.Join(home, "AppData", "Roaming", "XDCchain") } else { - return filepath.Join(home, ".ethereum") + return filepath.Join(home, ".XDC") } } // As we cannot guess a stable location, return empty and handle later diff --git a/p2p/dial.go b/p2p/dial.go index 110b400b80..f6ef432846 100644 --- a/p2p/dial.go +++ b/p2p/dial.go @@ -450,4 +450,4 @@ func (h *dialHistory) Pop() interface{} { x := old[n-1] *h = old[0 : n-1] return x -} \ No newline at end of file +}