aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-12 15:32:37 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-12 15:32:37 +0800
commit359e6414e50df415caa1d4411224c6d48b6cb798 (patch)
tree2bbe96226f778e0b5d06dd32408bf6646fcf829a /common
parent22080e1fdd8eafd6201bb5a06ac19859bcc6b432 (diff)
downloadgo-tangerine-359e6414e50df415caa1d4411224c6d48b6cb798.tar
go-tangerine-359e6414e50df415caa1d4411224c6d48b6cb798.tar.gz
go-tangerine-359e6414e50df415caa1d4411224c6d48b6cb798.tar.bz2
go-tangerine-359e6414e50df415caa1d4411224c6d48b6cb798.tar.lz
go-tangerine-359e6414e50df415caa1d4411224c6d48b6cb798.tar.xz
go-tangerine-359e6414e50df415caa1d4411224c6d48b6cb798.tar.zst
go-tangerine-359e6414e50df415caa1d4411224c6d48b6cb798.zip
fixed windows ipc path issue
Diffstat (limited to 'common')
-rw-r--r--common/path.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/path.go b/common/path.go
index 63a23abcd..6e3259656 100644
--- a/common/path.go
+++ b/common/path.go
@@ -95,6 +95,9 @@ func DefaultDataDir() string {
}
func DefaultIpcPath() string {
+ if runtime.GOOS == "windows" {
+ return `\\.\pipe\geth.ipc`
+ }
return filepath.Join(DefaultDataDir(), "geth.ipc")
}