From 7c7058a6910de3d80c57a7df328b11873411d0e9 Mon Sep 17 00:00:00 2001 From: 0Gitnick Date: Tue, 13 Aug 2019 15:26:20 -0500 Subject: [PATCH] Remove unused variables in onionrproofs.py --- onionr/onionrproofs.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/onionr/onionrproofs.py b/onionr/onionrproofs.py index ede7b50d..216c0879 100755 --- a/onionr/onionrproofs.py +++ b/onionr/onionrproofs.py @@ -114,9 +114,6 @@ class DataPOW: self.hashing = True self.reporting = reporting iFound = False # if current thread is the one that found the answer - answer = '' - heartbeat = 200000 - hbCount = 0 while self.hashing: rand = nacl.utils.random() @@ -208,10 +205,7 @@ class POW: self.hashing = True self.reporting = reporting iFound = False # if current thread is the one that found the answer - answer = '' - hbCount = 0 nonce = int(binascii.hexlify(nacl.utils.random(64)), 16) - startNonce = nonce while self.hashing: #token = nacl.hash.blake2b(rand + self.data).decode() self.metadata['pow'] = nonce