Commit 493181ea authored by obscuren's avatar obscuren

eth/downloader: changed has to blockHashes for chain linking

parent c5b8acba
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment