From 6feae93c58d83807e133fbe4c62fd3ce904b3400 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 18 Oct 2018 20:01:18 +0300 Subject: [PATCH] Update lbrynet/wallet/claim_proofs.py --- lbrynet/wallet/claim_proofs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/wallet/claim_proofs.py b/lbrynet/wallet/claim_proofs.py index 87079565d..f84ac487b 100644 --- a/lbrynet/wallet/claim_proofs.py +++ b/lbrynet/wallet/claim_proofs.py @@ -54,7 +54,7 @@ def verify_proof(proof, rootHash, name): raise InvalidProofError("txhash was invalid: {}".format(proof['txhash'])) if not isinstance(proof['nOut'], int): 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( 'last takeover height was invalid: {}'.format(proof['last takeover height'])) to_hash += get_hash_for_outpoint(