cmd/geth: fix dir path in geth attach for yolov2 network (#21749)

This commit is contained in:
James Prestwich 2020-10-26 05:45:08 -07:00 committed by GitHub
parent 7b748e550a
commit 1a55e20d35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)