SHARE
TWEET

Untitled

a guest May 19th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff --git a/bitshares/amount.py b/bitshares/amount.py
  2. index cf21d44..7dbf840 100644
  3. --- a/bitshares/amount.py
  4. +++ b/bitshares/amount.py
  5. @@ -297,7 +297,7 @@ class Amount(dict):
  6.  
  7.      def __eq__(self, other):
  8.          if isinstance(other, Amount):
  9. -            assert other["asset"] == self["asset"]
  10. +            assert other["asset"] == self["asset"], '{}, {}'.format(other["asset"], self["asset"])
  11.              return self["amount"] == other["amount"]
  12.          else:
  13.              return self["amount"] == float(other or 0)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top