mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 01:35:20 +00:00
Added a meaningful message on invalid public key
This commit is contained in:
parent
5a75ce74d7
commit
ece457627b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue