diff options
author | Sonic <sonic@dexon.org> | 2018-11-09 14:49:23 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:57 +0800 |
commit | 67f05cdf8531b54592255fb9a19619d8bd8e28bb (patch) | |
tree | ad2598d70f7870222d383a75169c1f6a8fe78b4b /cmd | |
parent | 3569597050be8f18a7c50ff8f88adc50598fae6e (diff) | |
download | dexon-67f05cdf8531b54592255fb9a19619d8bd8e28bb.tar dexon-67f05cdf8531b54592255fb9a19619d8bd8e28bb.tar.gz dexon-67f05cdf8531b54592255fb9a19619d8bd8e28bb.tar.bz2 dexon-67f05cdf8531b54592255fb9a19619d8bd8e28bb.tar.lz dexon-67f05cdf8531b54592255fb9a19619d8bd8e28bb.tar.xz dexon-67f05cdf8531b54592255fb9a19619d8bd8e28bb.tar.zst dexon-67f05cdf8531b54592255fb9a19619d8bd8e28bb.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 514899699..fd5ea757d 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -41,8 +41,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" |