git://git.novaco.in
/
electrum-nvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
fix: abort signing thread if wallet is watching only
[electrum-nvc.git]
/
gui
/
qt
/
main_window.py
diff --git
a/gui/qt/main_window.py
b/gui/qt/main_window.py
index
3cf27d0
..
cd46e89
100644
(file)
--- 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)