diff options
Diffstat (limited to 'dex/api_backend.go')
-rw-r--r-- | dex/api_backend.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dex/api_backend.go b/dex/api_backend.go index 8a147aab2..7f2677dc8 100644 --- a/dex/api_backend.go +++ b/dex/api_backend.go @@ -29,6 +29,7 @@ import ( "github.com/dexon-foundation/dexon/core/state" "github.com/dexon-foundation/dexon/core/types" "github.com/dexon-foundation/dexon/core/vm" + "github.com/dexon-foundation/dexon/eth/downloader" "github.com/dexon-foundation/dexon/eth/gasprice" "github.com/dexon-foundation/dexon/ethdb" @@ -181,9 +182,9 @@ func (b *DexAPIBackend) SubscribeNewTxsEvent(ch chan<- core.NewTxsEvent) event.S return b.dex.TxPool().SubscribeNewTxsEvent(ch) } -//func (b *DexAPIBackend) Downloader() *downloader.Downloader { -// return b.dex.Downloader() -//} +func (b *DexAPIBackend) Downloader() *downloader.Downloader { + return b.dex.Downloader() +} func (b *DexAPIBackend) ProtocolVersion() int { return b.dex.DexVersion() |