fixing to remove supports from get_my_claim

This commit is contained in:
Kay Kurokawa 2016-11-10 12:52:35 -05:00
parent 1f06339d5a
commit 11b36ff4c8

View file

@ -378,7 +378,7 @@ class Wallet(object):
def _get_my_unspent_claim(claims): def _get_my_unspent_claim(claims):
for claim in claims: for claim in claims:
if claim['name'] == name and not claim['is spent'] and not claim.get('supported_claimid'): if claim['name'] == name and not claim['is spent'] and not claim.get('supported_claimid',False):
return claim return claim
return False return False