mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 07:51:27 +00:00
parent
b076f5294f
commit
7458461f13
2 changed files with 2 additions and 2 deletions
|
@ -270,7 +270,7 @@ class InstallWizard(QDialog, MessageBoxMixin, BaseWizard):
|
|||
return
|
||||
elif self.temp_storage.is_encrypted_with_hw_device():
|
||||
try:
|
||||
self.run('choose_hw_device', HWD_SETUP_DECRYPT_WALLET, self.temp_storage)
|
||||
self.run('choose_hw_device', HWD_SETUP_DECRYPT_WALLET, storage=self.temp_storage)
|
||||
except InvalidPassword as e:
|
||||
QMessageBox.information(
|
||||
None, _('Error'),
|
||||
|
|
|
@ -119,7 +119,7 @@ class WalletStorage(PrintError):
|
|||
if encryption is disabled completely (self.is_encrypted() == False),
|
||||
or if encryption is enabled but the contents have already been decrypted.
|
||||
"""
|
||||
return bool(self.data)
|
||||
return bool(self.db.data)
|
||||
|
||||
def is_encrypted(self):
|
||||
"""Return if storage encryption is currently enabled."""
|
||||
|
|
Loading…
Add table
Reference in a new issue