electrum

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

commit 3a5a0af48f4df77bae8f4c9df1eeddbee267e4f0
parent d0025491760aab9040ba31e2683adb220fd80345
Author: SomberNight <somber.night@protonmail.com>
Date:   Tue,  6 Mar 2018 17:20:22 +0100

fix #4047

Diffstat:
Mgui/qt/main_window.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py @@ -664,7 +664,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError): fiat_e.is_last_edited = (edit == fiat_e) amount = edit.get_amount() rate = self.fx.exchange_rate() if self.fx else None - if rate is None or amount is None: + if rate.is_nan() or amount is None: if edit is fiat_e: btc_e.setText("") if fee_e: