ThomasV 2 years ago
parent
commit
f4997c3771
  1. 4
      electrum/wallet.py

4
electrum/wallet.py

@ -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:

Loading…
Cancel
Save