forked from LBRYCommunity/lbry-sdk
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 i == 0 and 'txhash' in proof and 'nOut' in proof and 'last takeover height' in proof:
|
||||||
if len(proof['txhash']) != 64:
|
if len(proof['txhash']) != 64:
|
||||||
raise InvalidProofError("txhash was invalid: {}".format(proof['txhash']))
|
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']))
|
raise InvalidProofError("nOut was invalid: {}".format(proof['nOut']))
|
||||||
if not isinstance(proof['last takeover height'], (int,)):
|
if not isinstance(proof['last takeover height'], (int,)):
|
||||||
raise InvalidProofError(
|
raise InvalidProofError(
|
||||||
|
|
Loading…
Reference in a new issue