mirror of
https://github.com/arnaucube/go-ethereum.git
synced 2026-02-28 14:06:45 +01:00
eth/downloader: changed has to blockHashes for chain linking
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user