aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eth/downloader/downloader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go
index c1dc9d3a8..a484ce0a7 100644
--- a/eth/downloader/downloader.go
+++ b/eth/downloader/downloader.go
@@ -270,7 +270,7 @@ out:
)
hashSet := set.New()
for _, hash = range hashes {
- if d.hasBlock(hash) || d.queue.has(hash) {
+ if d.hasBlock(hash) || d.queue.blockHashes.Has(hash) {
glog.V(logger.Debug).Infof("Found common hash %x\n", hash[:4])
done = true