1
0

wizard: try harder to have temporarily stored pw erased from memory

This commit is contained in:
SomberNight
2019-08-14 17:27:38 +02:00
parent 25a1ed048f
commit bffc2a1d4b
2 changed files with 2 additions and 1 deletions

View File

@@ -582,6 +582,7 @@ class BaseWizard(Logger):
if not self.pw_args:
return
password, encrypt_storage, storage_enc_version = self.pw_args
self.pw_args = None # clean-up so that it can get GC-ed
storage = WalletStorage(path)
storage.set_keystore_encryption(bool(password))
if encrypt_storage: