Merge pull request #1764 from kobigurk/honor_ipc_datadir

honors datadir when attaching
pull/1771/head
Péter Szilágyi 9 years ago
commit ebbe25ee71
  1. 2
      cmd/geth/main.go

@ -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…
Cancel
Save