From 1b0d5755752496eecfa4b02646235f43fb4870d4 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Sun, 28 Jan 2018 16:41:49 -0600 Subject: [PATCH] fxied validateHash --- onionr/communicator.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/onionr/communicator.py b/onionr/communicator.py index b80cf6ff..65cb13b8 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -103,11 +103,8 @@ class OnionrCommunicate: if lastDB != currentDB: logger.debug('Fetching hash from ' + i + ' - ' + currentDB + ' current hash.') blocks += self.performGet('getBlockHashes', i) - if currentDB != lastDB: if self._utils.validateHash(currentDB): self._core.setPeerInfo(i, "blockDBHash", currentDB) - else: - logger.warn("Peer " + i + " returned malformed hash") logger.debug('BLOCKS: \n' + blocks) blockList = blocks.split('\n') for i in blockList: