Browse Source

Added a meaningful message on invalid public key

3.2.x
Anilkumar18 6 years ago
committed by GitHub
parent
commit
ece457627b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      gui/qt/main_window.py

2
gui/qt/main_window.py

@ -2248,7 +2248,7 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
encrypted_e.setText(encrypted.decode('ascii')) encrypted_e.setText(encrypted.decode('ascii'))
except BaseException as e: except BaseException as e:
traceback.print_exc(file=sys.stdout) traceback.print_exc(file=sys.stdout)
self.show_warning(str(e)) self.show_warning("Invalid Public key")
def encrypt_message(self, address=''): def encrypt_message(self, address=''):
d = WindowModalDialog(self, _('Encrypt/decrypt Message')) d = WindowModalDialog(self, _('Encrypt/decrypt Message'))

Loading…
Cancel
Save