follow-up 7576a99a0b
This commit is contained in:
@@ -2839,7 +2839,9 @@ class Abstract_Wallet(ABC, Logger, EventListener):
|
|||||||
## save changes
|
## save changes
|
||||||
if self.storage and self.storage.file_exists():
|
if self.storage and self.storage.file_exists():
|
||||||
self.db._write()
|
self.db._write()
|
||||||
self.unlock(None)
|
# if wallet was previously unlocked, update password in memory
|
||||||
|
if self._password_in_memory is not None:
|
||||||
|
self._password_in_memory = new_pw
|
||||||
|
|
||||||
@abstractmethod
|
@abstractmethod
|
||||||
def _update_password_for_keystore(self, old_pw: Optional[str], new_pw: Optional[str]) -> None:
|
def _update_password_for_keystore(self, old_pw: Optional[str], new_pw: Optional[str]) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user