diff options
author | Bas van Kervel <bas@ethdev.com> | 2015-06-12 02:35:19 +0800 |
---|---|---|
committer | Bas van Kervel <bas@ethdev.com> | 2015-06-12 02:35:19 +0800 |
commit | 22080e1fdd8eafd6201bb5a06ac19859bcc6b432 (patch) | |
tree | a243246b02d85a2ffd60f66347e83bd536038fe9 | |
parent | e2c2d8e15ebef85c77f7486f92c6430ca6f30785 (diff) | |
download | dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar.gz dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar.zst dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.zip |
ipc socket always used default path
-rw-r--r-- | cmd/geth/main.go | 2 | ||||
-rw-r--r-- | cmd/utils/flags.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/geth/main.go b/cmd/geth/main.go index 8e55b310c..11ea23165 100644 --- a/cmd/geth/main.go +++ b/cmd/geth/main.go @@ -308,7 +308,7 @@ func console(ctx *cli.Context) { ethereum, ctx.String(utils.JSpathFlag.Name), ctx.GlobalString(utils.RPCCORSDomainFlag.Name), - ctx.GlobalString(utils.IPCPathFlag.Name), + filepath.Join(ctx.GlobalString(utils.DataDirFlag.Name), "geth.ipc"), true, nil, ) diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 4c3690d49..80f21d50a 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -387,7 +387,7 @@ func MakeAccountManager(ctx *cli.Context) *accounts.Manager { func StartIPC(eth *eth.Ethereum, ctx *cli.Context) error { config := comms.IpcConfig{ - Endpoint: ctx.GlobalString(IPCPathFlag.Name), + Endpoint: filepath.Join(ctx.GlobalString(DataDirFlag.Name), "geth.ipc"), } xeth := xeth.New(eth, nil) |