mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
add invalid password check
This commit is contained in:
parent
7cb02f5d2a
commit
e667f0164a
1 changed files with 6 additions and 0 deletions
|
@ -2310,6 +2310,12 @@ class ElectrumWindow(QMainWindow):
|
|||
self.show_message(_("This is a watching-only wallet"))
|
||||
return
|
||||
|
||||
try:
|
||||
mnemonic = self.wallet.get_mnemonic(password)
|
||||
except Exception:
|
||||
QMessageBox.warning(self, _('Error'), _('Incorrect Password'), _('OK'))
|
||||
return
|
||||
|
||||
d = QDialog(self)
|
||||
d.setWindowTitle(_('Private keys'))
|
||||
d.setMinimumSize(850, 300)
|
||||
|
|
Loading…
Add table
Reference in a new issue