forked from cerc-io/plugeth
cmd/geth: fix dir path in geth attach for yolov2 network (#21749)
This commit is contained in:
parent
7b748e550a
commit
1a55e20d35
@ -137,7 +137,7 @@ func remoteConsole(ctx *cli.Context) error {
|
|||||||
} else if ctx.GlobalBool(utils.GoerliFlag.Name) {
|
} else if ctx.GlobalBool(utils.GoerliFlag.Name) {
|
||||||
path = filepath.Join(path, "goerli")
|
path = filepath.Join(path, "goerli")
|
||||||
} else if ctx.GlobalBool(utils.YoloV2Flag.Name) {
|
} 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)
|
endpoint = fmt.Sprintf("%s/geth.ipc", path)
|
||||||
|
Loading…
Reference in New Issue
Block a user