Browse Source

fix: abort signing thread if wallet is watching only

283
ThomasV 11 years ago
parent
commit
101fe08ac8
  1. 2
      gui/qt/main_window.py

2
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)

Loading…
Cancel
Save