eth/downloader: changed has to blockHashes for chain linking
This commit is contained in:
parent
c5b8acbaf0
commit
493181ea09
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue