fix mixmate indent
parent
c2b7246048
commit
fbcb95be9e
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue