fix: abort signing thread if wallet is watching only
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user