diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-12 15:32:37 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-12 15:32:37 +0800 |
commit | 359e6414e50df415caa1d4411224c6d48b6cb798 (patch) | |
tree | 2bbe96226f778e0b5d06dd32408bf6646fcf829a /common/path.go | |
parent | 22080e1fdd8eafd6201bb5a06ac19859bcc6b432 (diff) | |
download | dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.gz dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.bz2 dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.lz dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.xz dexon-359e6414e50df415caa1d4411224c6d48b6cb798.tar.zst dexon-359e6414e50df415caa1d4411224c6d48b6cb798.zip |
fixed windows ipc path issue
Diffstat (limited to 'common/path.go')
-rw-r--r-- | common/path.go | 3 |
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") } |