From 8b3a09f5af85f5c38da2d3103471270c506c8ee3 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 28 Jan 2018 20:20:24 -0600 Subject: [PATCH] do not claim hash is invalid when there was no hash --- onionr/communicator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onionr/communicator.py b/onionr/communicator.py index 422dbf9d..d7d92065 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -111,7 +111,7 @@ class OnionrCommunicate: logger.debug('Exchanged block (blockList): ' + i) if not self._utils.validateHash(i): # skip hash if it isn't valid - if len(i.strip()) != 0 + if len(i.strip()) != 0: logger.warn('Hash ' + i + ' is not valid') continue else: