mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-12 19:16:41 +00:00
Merge pull request #1764 from kobigurk/honor_ipc_datadir
honors datadir when attaching
This commit is contained in:
commit
ebbe25ee71
1 changed files with 1 additions and 1 deletions
|
|
@ -402,7 +402,7 @@ func attach(ctx *cli.Context) {
|
||||||
client, err = comms.ClientFromEndpoint(ctx.Args().First(), codec.JSON)
|
client, err = comms.ClientFromEndpoint(ctx.Args().First(), codec.JSON)
|
||||||
} else {
|
} else {
|
||||||
cfg := comms.IpcConfig{
|
cfg := comms.IpcConfig{
|
||||||
Endpoint: ctx.GlobalString(utils.IPCPathFlag.Name),
|
Endpoint: utils.IpcSocketPath(ctx),
|
||||||
}
|
}
|
||||||
client, err = comms.NewIpcClient(cfg, codec.JSON)
|
client, err = comms.NewIpcClient(cfg, codec.JSON)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue