diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-12 19:39:38 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-06-12 19:39:38 +0800 |
commit | aaac1f0cdd7a583448b71b26866f70f5f065378d (patch) | |
tree | b062611219238127f6cd60daae698751a396acd3 /common | |
parent | 4bb9a61049882f427e2742773c69b969849da1c2 (diff) | |
parent | 55a796b7c3a9560f27b0bfc7fe064e84d1b36608 (diff) | |
download | dexon-aaac1f0cdd7a583448b71b26866f70f5f065378d.tar dexon-aaac1f0cdd7a583448b71b26866f70f5f065378d.tar.gz dexon-aaac1f0cdd7a583448b71b26866f70f5f065378d.tar.bz2 dexon-aaac1f0cdd7a583448b71b26866f70f5f065378d.tar.lz dexon-aaac1f0cdd7a583448b71b26866f70f5f065378d.tar.xz dexon-aaac1f0cdd7a583448b71b26866f70f5f065378d.tar.zst dexon-aaac1f0cdd7a583448b71b26866f70f5f065378d.zip |
Merge pull request #1254 from bas-vk/ipcwindowspathfix
Invalid named pipe name
Diffstat (limited to 'common')
-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") } |