mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-03 20:35:13 +00:00
fix bug with storage.encrypt
This commit is contained in:
parent
8fabd1245d
commit
a159cc3a06
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ class WalletStorage(PrintError):
|
|||
def decrypt(self, password):
|
||||
ec_key = self.get_key(password)
|
||||
s = zlib.decompress(ec_key.decrypt_message(self.raw)) if self.raw else None
|
||||
self.pubkey = ec_key.get_public_key()
|
||||
self.load_data(s)
|
||||
|
||||
def set_password(self, password, encrypt):
|
||||
|
|
Loading…
Add table
Reference in a new issue