From 1a55e20d3562b08a4cf31b5b6b66d39d9acc43df Mon Sep 17 00:00:00 2001
From: James Prestwich <10149425+prestwich@users.noreply.github.com>
Date: Mon, 26 Oct 2020 05:45:08 -0700
Subject: [PATCH] cmd/geth: fix dir path in geth attach for yolov2 network
 (#21749)

---
 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 f15a306f1..cbecbe0a5 100644
--- a/cmd/geth/consolecmd.go
+++ b/cmd/geth/consolecmd.go
@@ -137,7 +137,7 @@ func remoteConsole(ctx *cli.Context) error {
 			} else if ctx.GlobalBool(utils.GoerliFlag.Name) {
 				path = filepath.Join(path, "goerli")
 			} else if ctx.GlobalBool(utils.YoloV2Flag.Name) {
-				path = filepath.Join(path, "yolo-v1")
+				path = filepath.Join(path, "yolo-v2")
 			}
 		}
 		endpoint = fmt.Sprintf("%s/geth.ipc", path)
-- 
GitLab