fix syntax error

This commit is contained in:
Lex Berezhny 2018-07-11 23:57:22 -04:00 committed by Jack Robison
parent 9e8cb17ecb
commit 2b234e0713
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -39,7 +39,10 @@ class Account(BaseAccount):
def maybe_migrate_certificates(self): def maybe_migrate_certificates(self):
for lookup_key in self.certificates.keys(): for lookup_key in self.certificates.keys():
if ':' not in lookup_key: if ':' not in lookup_key:
claim = self.ledger. claim = yield self.ledger.network.get_claims_by_ids(lookup_key)
print(claim)
break
def get_balance(self, include_claims=False): def get_balance(self, include_claims=False):
if include_claims: if include_claims:
return super(Account, self).get_balance() return super(Account, self).get_balance()