From b86a566f8ecdd7095ade325ce177d470847b0f18 Mon Sep 17 00:00:00 2001 From: chuwt Date: Fri, 29 Oct 2021 22:15:35 +0800 Subject: [PATCH] Fix default attach endpoint --- cmd/geth/consolecmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/geth/consolecmd.go b/cmd/geth/consolecmd.go index 75f9a82aa8..3937da3032 100644 --- a/cmd/geth/consolecmd.go +++ b/cmd/geth/consolecmd.go @@ -139,7 +139,7 @@ func remoteConsole(ctx *cli.Context) error { path = filepath.Join(homeDir, "/.bor/data") } } - endpoint = fmt.Sprintf("%s/geth.ipc", path) + endpoint = fmt.Sprintf("%s/bor.ipc", path) } client, err := dialRPC(endpoint) if err != nil {