1
0

hw wallet encryption unlock: clear session on incorrect passphrase

This commit is contained in:
SomberNight
2018-03-10 03:59:01 +01:00
parent f3d254ff1e
commit d994d27704
2 changed files with 10 additions and 4 deletions

View File

@@ -246,8 +246,6 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
try:
self.run('choose_hw_device', HWD_SETUP_DECRYPT_WALLET)
except InvalidPassword as e:
# FIXME if we get here because of mistyped passphrase
# then that passphrase gets "cached"
QMessageBox.information(
None, _('Error'),
_('Failed to decrypt using this hardware device.') + '\n' +