Skip to content

Commit

Permalink
Fix string formatting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Sep 12, 2019
1 parent 6bae376 commit 9e1143d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sto/models/tokenscan.py
Expand Up @@ -236,7 +236,7 @@ class _TokenHolderAccount(TimeStampedBaseModel):
balance_calculated_at = sa.Column(UTCDateTime, nullable=True, default=None)

def __str__(self):
return "<Token:{}, holder:{}, updated at:{}, balance:{}>".format(self.token.address, self.address, self.last_updated_block, self.get_balance_uint())
return "<Token:{}, holder:{}, updated at:{}, balance:{}>".format(self.token.address, self.address, self.last_block_updated_at, self.get_balance_uint())

def mark_dirty(self):
"""The raw_balance does not """
Expand Down

0 comments on commit 9e1143d

Please sign in to comment.