From 9c50cfdcdb758039301a2f5950b6b2213e849721 Mon Sep 17 00:00:00 2001 From: Kay Kurokawa Date: Mon, 5 Dec 2016 17:17:17 -0500 Subject: [PATCH] fix bug in get_my_claim --- lbrynet/core/Wallet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/core/Wallet.py b/lbrynet/core/Wallet.py index b3e1cc152..ad73886b9 100644 --- a/lbrynet/core/Wallet.py +++ b/lbrynet/core/Wallet.py @@ -405,12 +405,12 @@ class Wallet(object): if not claim: return False claim['value'] = json.loads(claim['value']) - return claim + return claim def _get_my_unspent_claim(claims): for claim in claims: - if claim['name'] == name and not claim['is spent'] and not claim.get('supported_claimid', False): + if claim['name'] == name and not claim['is spent'] and claim['category'] != 'support': return claim return False