From 969f18b06c50c5a27823c65515465b597a5d48e6 Mon Sep 17 00:00:00 2001 From: AnilChinchawale Date: Wed, 6 Feb 2019 04:52:21 +0530 Subject: [PATCH] p2p lib updated --- node/defaults.go | 6 +++--- p2p/dial.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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 +}