mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-30 17:01:34 +00:00
fix password issue #2097
This commit is contained in:
parent
4db5052cc6
commit
dcfa7b508a
1 changed files with 3 additions and 2 deletions
|
@ -1656,8 +1656,9 @@ class Multisig_Wallet(Deterministic_Wallet):
|
|||
|
||||
def update_password(self, old_pw, new_pw):
|
||||
for name, keystore in self.keystores.items():
|
||||
keystore.update_password(old_pw, new_pw)
|
||||
self.storage.put(name, keystore.dump())
|
||||
if keystore.can_change_password():
|
||||
keystore.update_password(old_pw, new_pw)
|
||||
self.storage.put(name, keystore.dump())
|
||||
self.storage.put('use_encryption', (new_pw is not None))
|
||||
|
||||
def check_password(self, password):
|
||||
|
|
Loading…
Add table
Reference in a new issue