aboutsummaryrefslogtreecommitdiffstats
path: root/dex/downloader/peer.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-03-08 14:49:00 +0800
committerWei-Ning Huang <w@byzantine-lab.io>2019-06-12 17:27:22 +0800
commita6acc747e603a2f449af075a007a34fc494631e0 (patch)
tree14715e687337d211ce7526f0ece0d8f3068d38b4 /dex/downloader/peer.go
parent8e87508f4858fc9dd5836af1f6d09184a4c24ad3 (diff)
downloadgo-tangerine-a6acc747e603a2f449af075a007a34fc494631e0.tar
go-tangerine-a6acc747e603a2f449af075a007a34fc494631e0.tar.gz
go-tangerine-a6acc747e603a2f449af075a007a34fc494631e0.tar.bz2
go-tangerine-a6acc747e603a2f449af075a007a34fc494631e0.tar.lz
go-tangerine-a6acc747e603a2f449af075a007a34fc494631e0.tar.xz
go-tangerine-a6acc747e603a2f449af075a007a34fc494631e0.tar.zst
go-tangerine-a6acc747e603a2f449af075a007a34fc494631e0.zip
dex, dex/downloader: remove some TODO comments (#232)
Diffstat (limited to 'dex/downloader/peer.go')
-rw-r--r--dex/downloader/peer.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/dex/downloader/peer.go b/dex/downloader/peer.go
index e1c6960f1..df8ef0ee9 100644
--- a/dex/downloader/peer.go
+++ b/dex/downloader/peer.go
@@ -103,7 +103,6 @@ func (w *lightPeerWrapper) RequestHeadersByNumber(i uint64, amount int, skip int
return w.peer.RequestHeadersByNumber(i, amount, skip, reverse, withGov)
}
func (w *lightPeerWrapper) RequestGovStateByHash(common.Hash) error {
- // TODO(sonic): support this
panic("RequestGovStateByHash not supported in light client mode sync")
}
func (w *lightPeerWrapper) DownloadBodies([]common.Hash) error {