SomberNight
4 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
0 deletions
-
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) \ |
|
|
|