You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

12 lines
248 B

import base64
def fidelity_bond_sanity_check(proof):
try:
decoded_data = base64.b64decode(proof, validate=True)
if len(decoded_data) != 252:
return False
except Exception:
return False
return True