From 203d30d4f7e63321cac06e5ca124d3929bce1f48 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Thu, 18 Oct 2018 20:01:13 +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 4a393d5a9..87079565d 100644 --- a/lbrynet/wallet/claim_proofs.py +++ b/lbrynet/wallet/claim_proofs.py @@ -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(