aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-06-12 02:35:19 +0800
committerBas van Kervel <bas@ethdev.com>2015-06-12 02:35:19 +0800
commit22080e1fdd8eafd6201bb5a06ac19859bcc6b432 (patch)
treea243246b02d85a2ffd60f66347e83bd536038fe9 /cmd/utils
parente2c2d8e15ebef85c77f7486f92c6430ca6f30785 (diff)
downloaddexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar
dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar.gz
dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar.bz2
dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar.lz
dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar.xz
dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.tar.zst
dexon-22080e1fdd8eafd6201bb5a06ac19859bcc6b432.zip
ipc socket always used default path
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go2
1 files changed, 1 insertions, 1 deletions
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)