aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/gdex/consolecmd.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-11-26 13:54:28 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:54 +0800
commit32e1c5ad4d6e57e4d555577fa586324f10b7319e (patch)
treecce99e6243b10c46226355fd58787f47a0b1c64a /cmd/gdex/consolecmd.go
parent622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7 (diff)
downloadgo-tangerine-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar
go-tangerine-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.gz
go-tangerine-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.bz2
go-tangerine-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.lz
go-tangerine-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.xz
go-tangerine-32e1c5ad4d6e57e4d555577fa586324f10b7319e.tar.zst
go-tangerine-32e1c5ad4d6e57e4d555577fa586324f10b7319e.zip
core: add Taipei testnet (#47)
Add a new testnet named Taipei.
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 9915e1ee0..8b9d58dad 100644
--- a/cmd/gdex/consolecmd.go
+++ b/cmd/gdex/consolecmd.go
@@ -124,6 +124,8 @@ func remoteConsole(ctx *cli.Context) error {
if path != "" {
if ctx.GlobalBool(utils.TestnetFlag.Name) {
path = filepath.Join(path, "testnet")
+ } else if ctx.GlobalBool(utils.TaipeiFlag.Name) {
+ path = filepath.Join(path, "taipei")
}
}
endpoint = fmt.Sprintf("%s/gdex.ipc", path)