Merge pull request #315 from kaykurokawa/fix_claim_bug

Fix bug to exclude support in get_my_claim
This commit is contained in:
Jack Robison 2016-12-07 09:25:44 -05:00 committed by GitHub
commit 9ad55e93b9

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