added invalid block debug message

This commit is contained in:
Kevin Froman 2018-01-27 20:07:33 -06:00
parent 59b4a887c7
commit 7a3eaf63df
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B

View File

@ -108,6 +108,7 @@ class OnionrCommunicate:
for i in blockList: for i in blockList:
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
logger.warn('Hash ' + i + ' is not valid')
continue continue
else: else:
logger.debug('Adding ' + i + ' to hash database...') logger.debug('Adding ' + i + ' to hash database...')