diff --git a/cmd/geth/consolecmd.go b/cmd/geth/consolecmd.go index 62399fb36282a70eb46561602f4c6a9247ed4335..75f9a82aa874e87d669b283986b619c0fe3e8324 100644 --- a/cmd/geth/consolecmd.go +++ b/cmd/geth/consolecmd.go @@ -138,8 +138,8 @@ func remoteConsole(ctx *cli.Context) error { homeDir, _ := os.UserHomeDir() path = filepath.Join(homeDir, "/.bor/data") } - endpoint = fmt.Sprintf("%s/geth.ipc", path) } + endpoint = fmt.Sprintf("%s/geth.ipc", path) } client, err := dialRPC(endpoint) if err != nil {