Added a meaningful message on invalid public key
This commit is contained in:
@@ -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'))
|
||||||
|
|||||||
Reference in New Issue
Block a user