1
0

wizard: fix decryption of hw wallet files

see #5174
This commit is contained in:
SomberNight
2019-03-03 17:33:13 +01:00
parent b076f5294f
commit 7458461f13
2 changed files with 2 additions and 2 deletions

View File

@@ -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."""