aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorWei-Ning Huang <aitjcize@gmail.com>2019-06-02 18:17:14 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-09-17 16:57:29 +0800
commit748e450239533fb124e3635e4484f8a96d6fbd56 (patch)
treec6582fe44d3815727ffb4eec6ff6ec7f8fa1d1b9 /cmd
parent2844d2aad3aa29e4e880aec6ab425dd1796672e7 (diff)
downloadgo-tangerine-748e450239533fb124e3635e4484f8a96d6fbd56.tar.gz
go-tangerine-748e450239533fb124e3635e4484f8a96d6fbd56.tar.zst
go-tangerine-748e450239533fb124e3635e4484f8a96d6fbd56.zip
cmd: fix version display
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gdex/misccmd.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/gdex/misccmd.go b/cmd/gdex/misccmd.go
index 8800c7376..4109832a5 100644
--- a/cmd/gdex/misccmd.go
+++ b/cmd/gdex/misccmd.go
@@ -25,7 +25,7 @@ import (
"github.com/dexon-foundation/dexon/cmd/utils"
"github.com/dexon-foundation/dexon/consensus/ethash"
- "github.com/dexon-foundation/dexon/eth"
+ "github.com/dexon-foundation/dexon/dex"
"github.com/dexon-foundation/dexon/params"
"gopkg.in/urfave/cli.v1"
)
@@ -113,8 +113,8 @@ func version(ctx *cli.Context) error {
fmt.Println("Git Commit:", gitCommit)
}
fmt.Println("Architecture:", runtime.GOARCH)
- fmt.Println("Protocol Versions:", eth.ProtocolVersions)
- fmt.Println("Network Id:", eth.DefaultConfig.NetworkId)
+ fmt.Println("Protocol Versions:", dex.ProtocolVersions)
+ fmt.Println("Network Id:", dex.DefaultConfig.NetworkId)
fmt.Println("Go Version:", runtime.Version())
fmt.Println("Operating System:", runtime.GOOS)
fmt.Printf("GOPATH=%s\n", os.Getenv("GOPATH"))