fixed windows ipc path issue
This commit is contained in:
@ -95,6 +95,9 @@ func DefaultDataDir() string {
|
||||
}
|
||||
|
||||
func DefaultIpcPath() string {
|
||||
if runtime.GOOS == "windows" {
|
||||
return `\\.\pipe\geth.ipc`
|
||||
}
|
||||
return filepath.Join(DefaultDataDir(), "geth.ipc")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user