mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-27 08:07:22 +00:00
eth/downloader: changed has to blockHashes for chain linking
This commit is contained in:
parent
c5b8acbaf0
commit
493181ea09
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue