electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit 57768244bbb1997c3f45a41fa8217d1779cc8105
parent 6f105ae43bb624654fbe74a976c439f5fb75efd7
Author: SomberNight <somber.night@protonmail.com>
Date:   Wed, 18 Nov 2020 23:50:08 +0100

qt history list: fix #6746

Diffstat:
Melectrum/util.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git 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) \