fix bug in get_my_claim

This commit is contained in:
Kay Kurokawa 2016-12-05 17:17:17 -05:00 committed by Jack
parent bcc0812a07
commit 56c64a4091

View file

@ -395,7 +395,7 @@ class Wallet(object):
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