From 493181ea09e5ac1e8798e4e97260fa5bff84ea1c Mon Sep 17 00:00:00 2001 From: obscuren Date: Sun, 3 May 2015 14:10:31 +0200 Subject: [PATCH] eth/downloader: changed has to blockHashes for chain linking --- eth/downloader/downloader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/downloader/downloader.go b/eth/downloader/downloader.go index c1dc9d3a88..a484ce0a71 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