From 101fe08ac8270631e484ab06785d663d3f872673 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Tue, 1 Jul 2014 08:35:28 +0200 Subject: [PATCH] fix: abort signing thread if wallet is watching only --- gui/qt/main_window.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/gui/qt/main_window.py b/gui/qt/main_window.py index 3cf27d0..cd46e89 100644 --- a/gui/qt/main_window.py +++ b/gui/qt/main_window.py @@ -1053,6 +1053,8 @@ class ElectrumWindow(QMainWindow): # sign the tx def sign_thread(): + if self.wallet.is_watching_only(): + return tx keypairs = {} try: self.wallet.add_keypairs(tx, keypairs, password) -- 1.7.1