do not re merge ignored hash

master
Kevin Froman 2018-04-23 01:14:49 -05:00
parent 0db21e2c32
commit 686e30f1ba
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 2 additions and 0 deletions

View File

@ -208,6 +208,8 @@ class OnionrCommunicate:
continue continue
if self._utils.hasBlock(i): if self._utils.hasBlock(i):
continue continue
if i in self.ignoredHashes:
continue
#logger.debug('Exchanged block (blockList): ' + i) #logger.debug('Exchanged block (blockList): ' + i)
if not self._utils.validateHash(i): if not self._utils.validateHash(i):
# skip hash if it isn't valid # skip hash if it isn't valid