eth/downloader: changed has to blockHashes for chain linking

release/1.0.1
obscuren 10 years ago
parent c5b8acbaf0
commit 493181ea09
  1. 2
      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

Loading…
Cancel
Save