common: remove windows path functions

They were unused and their tests failed on Windows.
This commit is contained in:
Felix Lange
2015-08-06 15:15:36 +01:00
parent b23b4dbd79
commit 78b101e15d
4 changed files with 2 additions and 65 deletions

View File

@ -478,7 +478,7 @@ func MakeAccountManager(ctx *cli.Context) *accounts.Manager {
}
func IpcSocketPath(ctx *cli.Context) (ipcpath string) {
if common.IsWindows() {
if runtime.GOOS == "windows" {
ipcpath = common.DefaultIpcPath()
if ctx.GlobalIsSet(IPCPathFlag.Name) {
ipcpath = ctx.GlobalString(IPCPathFlag.Name)