diff options
author | Wei-Ning Huang <aitjcize@gmail.com> | 2019-06-02 18:17:14 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-09-17 16:57:29 +0800 |
commit | 748e450239533fb124e3635e4484f8a96d6fbd56 (patch) | |
tree | c6582fe44d3815727ffb4eec6ff6ec7f8fa1d1b9 /cmd | |
parent | 2844d2aad3aa29e4e880aec6ab425dd1796672e7 (diff) | |
download | go-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.go | 6 |
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")) |