Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/bitshares/amount.py b/bitshares/amount.py
- index cf21d44..7dbf840 100644
- --- a/bitshares/amount.py
- +++ b/bitshares/amount.py
- @@ -297,7 +297,7 @@ class Amount(dict):
- def __eq__(self, other):
- if isinstance(other, Amount):
- - assert other["asset"] == self["asset"]
- + assert other["asset"] == self["asset"], '{}, {}'.format(other["asset"], self["asset"])
- return self["amount"] == other["amount"]
- else:
- return self["amount"] == float(other or 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement