aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex/consolecmd.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2019-02-25 19:08:17 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitf3658a11e0a72da8da4c716cbcecc69d79f396ce (patch)
treebec0b457f6305f58473974bb855bf69519a873e3 /cmd/gdex/consolecmd.go
parentd779f5aead9e91b97c8d05136ddb7a6bd84f4276 (diff)
downloaddexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.gz
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.bz2
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.lz
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.xz
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.tar.zst
dexon-f3658a11e0a72da8da4c716cbcecc69d79f396ce.zip
params: add Yilan network (#207)
* Add Yilan network * Fixup: remove dummy log
Diffstat (limited to 'cmd/gdex/consolecmd.go')
-rw-r--r--cmd/gdex/consolecmd.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/gdex/consolecmd.go b/cmd/gdex/consolecmd.go
index 8b9d58dad..bc447fefd 100644
--- a/cmd/gdex/consolecmd.go
+++ b/cmd/gdex/consolecmd.go
@@ -126,6 +126,8 @@ func remoteConsole(ctx *cli.Context) error {
path = filepath.Join(path, "testnet")
} else if ctx.GlobalBool(utils.TaipeiFlag.Name) {
path = filepath.Join(path, "taipei")
+ } else if ctx.GlobalBool(utils.YilanFlag.Name) {
+ path = filepath.Join(path, "yilan")
}
}
endpoint = fmt.Sprintf("%s/gdex.ipc", path)