diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-04-15 17:36:27 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-04-15 18:42:26 +0800 |
commit | 7221cb1434eebce879a0bd1bf3867cd8a24bcc99 (patch) | |
tree | 364dc21a521f89da13c69990238e13afeda3e6c1 /eth/downloader | |
parent | 6b0ddd141e2e12bb09b33e14e67aed4d5a68d66c (diff) | |
download | go-tangerine-7221cb1434eebce879a0bd1bf3867cd8a24bcc99.tar go-tangerine-7221cb1434eebce879a0bd1bf3867cd8a24bcc99.tar.gz go-tangerine-7221cb1434eebce879a0bd1bf3867cd8a24bcc99.tar.bz2 go-tangerine-7221cb1434eebce879a0bd1bf3867cd8a24bcc99.tar.lz go-tangerine-7221cb1434eebce879a0bd1bf3867cd8a24bcc99.tar.xz go-tangerine-7221cb1434eebce879a0bd1bf3867cd8a24bcc99.tar.zst go-tangerine-7221cb1434eebce879a0bd1bf3867cd8a24bcc99.zip |
core, eth, les, light: scope receipt functionality a bit cleaner
Diffstat (limited to 'eth/downloader')
-rw-r--r-- | eth/downloader/fakepeer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/fakepeer.go b/eth/downloader/fakepeer.go index 59832faca..3ec90bc9e 100644 --- a/eth/downloader/fakepeer.go +++ b/eth/downloader/fakepeer.go @@ -141,7 +141,7 @@ func (p *FakePeer) RequestBodies(hashes []common.Hash) error { func (p *FakePeer) RequestReceipts(hashes []common.Hash) error { var receipts [][]*types.Receipt for _, hash := range hashes { - receipts = append(receipts, rawdb.ReadReceipts(p.db, hash, *p.hc.GetBlockNumber(hash))) + receipts = append(receipts, rawdb.ReadRawReceipts(p.db, hash, *p.hc.GetBlockNumber(hash))) } p.dl.DeliverReceipts(p.id, receipts) return nil |