aboutsummaryrefslogtreecommitdiffstats
path: root/dex/api_backend.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-12 13:54:32 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:23:38 +0800
commit4a131ffec89a8229d2b661eb8e6ebd4ec292baf2 (patch)
treea29a9cdd25e3e133f30d2f58014ff5cd4840a94d /dex/api_backend.go
parent25124281519a0ec7d163bb38c64b6b5c9c122df6 (diff)
downloadgo-tangerine-4a131ffec89a8229d2b661eb8e6ebd4ec292baf2.tar
go-tangerine-4a131ffec89a8229d2b661eb8e6ebd4ec292baf2.tar.gz
go-tangerine-4a131ffec89a8229d2b661eb8e6ebd4ec292baf2.tar.bz2
go-tangerine-4a131ffec89a8229d2b661eb8e6ebd4ec292baf2.tar.lz
go-tangerine-4a131ffec89a8229d2b661eb8e6ebd4ec292baf2.tar.xz
go-tangerine-4a131ffec89a8229d2b661eb8e6ebd4ec292baf2.tar.zst
go-tangerine-4a131ffec89a8229d2b661eb8e6ebd4ec292baf2.zip
dex: governance: implement governance interface
Diffstat (limited to 'dex/api_backend.go')
-rw-r--r--dex/api_backend.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/dex/api_backend.go b/dex/api_backend.go
index 151a5d7da..791d3ab8f 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()