fix bug where support claim is returned when it shouldn't be

This commit is contained in:
Jack 2016-10-20 11:15:35 -04:00
parent 3f5efb1fa3
commit a9ae1a1016

View file

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