aboutsummaryrefslogtreecommitdiffstats
path: root/eth/downloader/downloader_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-04-30 06:52:25 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-04-30 06:52:25 +0800
commit3fef60190384106af390dd23a65384b9cc6e4a28 (patch)
tree49f52b8bba6af0228bb20758dd1465f8dce6842d /eth/downloader/downloader_test.go
parent764e81bf12bc45b00cec7db216e72d6396cf0c13 (diff)
parent30b921ef463247da63dece1cb81887f7e66668ff (diff)
downloadgo-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar
go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.gz
go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.bz2
go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.lz
go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.xz
go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.tar.zst
go-tangerine-3fef60190384106af390dd23a65384b9cc6e4a28.zip
Merge pull request #830 from obscuren/downloader-missing-parent
eth/downloader: missing parent improvement
Diffstat (limited to 'eth/downloader/downloader_test.go')
-rw-r--r--eth/downloader/downloader_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/eth/downloader/downloader_test.go b/eth/downloader/downloader_test.go
index 8843ca0c7..5518163ca 100644
--- a/eth/downloader/downloader_test.go
+++ b/eth/downloader/downloader_test.go
@@ -62,10 +62,10 @@ func (dl *downloadTester) hasBlock(hash common.Hash) bool {
return false
}
-func (dl *downloadTester) insertChain(blocks types.Blocks) error {
+func (dl *downloadTester) insertChain(blocks types.Blocks) (int, error) {
dl.insertedBlocks += len(blocks)
- return nil
+ return 0, nil
}
func (dl *downloadTester) getHashes(hash common.Hash) error {