eth/downloader: changed has to blockHashes for chain linking

This commit is contained in:
obscuren 2015-05-03 14:10:31 +02:00
parent c5b8acbaf0
commit 493181ea09
1 changed files with 1 additions and 1 deletions

View File

@ -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