Browse Source

qt history list: fix #6746

patch-4
SomberNight 4 years ago
parent
commit
57768244bb
No known key found for this signature in database GPG Key ID: B33B5F232C6271E9
  1. 2
      electrum/util.py

2
electrum/util.py

@ -219,6 +219,8 @@ class Fiat(object):
return "{:.2f}".format(self.value) + ' ' + self.ccy
def __eq__(self, other):
if not isinstance(other, Fiat):
return False
if self.ccy != other.ccy:
return False
if isinstance(self.value, Decimal) and isinstance(other.value, Decimal) \

Loading…
Cancel
Save