From 252c73a06a9a58fcd4b2039e0fbe27705c7c365a Mon Sep 17 00:00:00 2001 From: ThomasV Date: Wed, 5 Aug 2015 18:01:56 +0200 Subject: [PATCH] fix issue #1387 --- gui/qt/main_window.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index d737f292..a52d9fc2 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -2480,6 +2480,9 @@ class ElectrumWindow(QMainWindow): fee = self.wallet.fee_per_kb(self.config) tx = Transaction.sweep(get_pk(), self.network, get_address(), fee) + if not tx: + self.show_message(_('No inputs found. (Note that inputs need to be confirmed)')) + return self.show_transaction(tx)