Update lbrynet/wallet/claim_proofs.py
This commit is contained in:
parent
d0a7ca841b
commit
203d30d4f7
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ def verify_proof(proof, rootHash, name):
|
|||
if i == 0 and 'txhash' in proof and 'nOut' in proof and 'last takeover height' in proof:
|
||||
if len(proof['txhash']) != 64:
|
||||
raise InvalidProofError("txhash was invalid: {}".format(proof['txhash']))
|
||||
if not isinstance(proof['nOut'], (int,)):
|
||||
if not isinstance(proof['nOut'], int):
|
||||
raise InvalidProofError("nOut was invalid: {}".format(proof['nOut']))
|
||||
if not isinstance(proof['last takeover height'], (int,)):
|
||||
raise InvalidProofError(
|
||||
|
|
Loading…
Reference in a new issue