diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-11-26 13:54:28 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:54 +0800 |
commit | 32e1c5ad4d6e57e4d555577fa586324f10b7319e (patch) | |
tree | cce99e6243b10c46226355fd58787f47a0b1c64a /cmd/gdex/consolecmd.go | |
parent | 622ae7fe3ef067d4f395937a9bb0f783a7c1e6c7 (diff) | |
download | go-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.go | 2 |
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) |