diff options
author | Sonic <sonic@dexon.org> | 2018-11-09 14:49:23 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | 6b9db92147972dacc9999f9fa63df1fa712b05d6 (patch) | |
tree | 3b85ad84984a4dfc7518016ccf2017a36fc3cc9f /cmd | |
parent | ee4c3558200faa70624efcf7ff2afa4ae8b1f0f4 (diff) | |
download | dexon-6b9db92147972dacc9999f9fa63df1fa712b05d6.tar dexon-6b9db92147972dacc9999f9fa63df1fa712b05d6.tar.gz dexon-6b9db92147972dacc9999f9fa63df1fa712b05d6.tar.bz2 dexon-6b9db92147972dacc9999f9fa63df1fa712b05d6.tar.lz dexon-6b9db92147972dacc9999f9fa63df1fa712b05d6.tar.xz dexon-6b9db92147972dacc9999f9fa63df1fa712b05d6.tar.zst dexon-6b9db92147972dacc9999f9fa63df1fa712b05d6.zip |
dex: use dex/downloader in dex
To compatible with ethereum code base, make Downloader a
interface in internal/ethapi
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/utils/flags.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index b286c65c1..77a2f07f7 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -40,8 +40,8 @@ import ( "github.com/dexon-foundation/dexon/crypto" "github.com/dexon-foundation/dexon/dashboard" "github.com/dexon-foundation/dexon/dex" + "github.com/dexon-foundation/dexon/dex/downloader" "github.com/dexon-foundation/dexon/eth" - "github.com/dexon-foundation/dexon/eth/downloader" "github.com/dexon-foundation/dexon/eth/gasprice" "github.com/dexon-foundation/dexon/ethdb" "github.com/dexon-foundation/dexon/ethstats" |