Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
xeroc committed Feb 18, 2020
1 parent d5d83bf commit eee916e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphenecommon/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def balance(self, symbol):
symbol = symbol["symbol"]
balances = self.balances
for b in balances:
if b["symbol"] == symbol:
if b["symbol"] == symbol or b["asset"]["id"] == symbol:
return b
return self.amount_class(0, symbol, blockchain_instance=self.blockchain)

Expand Down

0 comments on commit eee916e

Please sign in to comment.