fix mixmate indent

master
Kevin Froman 2020-10-15 02:46:20 +00:00
parent c2b7246048
commit fbcb95be9e
2 changed files with 3 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def block_mixer(upload_list: List[onionrtypes.BlockHash],
try:
if time.time() - bl.claimedTime > onionrvalues.BLOCK_POOL_MAX_AGE:
raise ValueError
raise ValueError
except TypeError:
pass
if block_to_mix:

View File

@ -83,7 +83,9 @@ class Block:
self.bcontent = encryption.pub_key_decrypt(self.bcontent, encodedData=encodedData)
except (binascii.Error, ValueError) as e:
self.bcontent = encryption.pub_key_decrypt(self.bcontent, encodedData=False)
bmeta = encryption.pub_key_decrypt(self.bmetadata, encodedData=encodedData)
try:
bmeta = bmeta.decode()
except AttributeError: