mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 03:51:09 +00:00
cmd/geth: honor datadir when attaching
This commit is contained in:
parent
e98854588b
commit
1a86adc5a2
@ -402,7 +402,7 @@ func attach(ctx *cli.Context) {
|
||||
client, err = comms.ClientFromEndpoint(ctx.Args().First(), codec.JSON)
|
||||
} else {
|
||||
cfg := comms.IpcConfig{
|
||||
Endpoint: ctx.GlobalString(utils.IPCPathFlag.Name),
|
||||
Endpoint: utils.IpcSocketPath(ctx),
|
||||
}
|
||||
client, err = comms.NewIpcClient(cfg, codec.JSON)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user