From 6c7a9e1c410992486ce610ed3836cec35ba546e6 Mon Sep 17 00:00:00 2001
From: Uttam Singh <uttamkhanduja@yahoo.in>
Date: Mon, 20 Sep 2021 11:38:39 +0530
Subject: [PATCH] minor changes

---
 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 62399fb36..75f9a82aa 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 {
-- 
GitLab