From 57768244bbb1997c3f45a41fa8217d1779cc8105 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Wed, 18 Nov 2020 23:50:08 +0100 Subject: [PATCH] qt history list: fix #6746 --- electrum/util.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/electrum/util.py b/electrum/util.py index 0ad510e94..25fc2891c 100644 --- a/electrum/util.py +++ b/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) \