1
0

fix multisig update_password

This commit is contained in:
ThomasV
2017-03-04 10:30:05 +01:00
parent 98353c286a
commit 9cb576a88c
3 changed files with 4 additions and 4 deletions

View File

@@ -84,7 +84,7 @@ class WalletStorage(PrintError):
def set_password(self, pw, encrypt):
"""Set self.pubkey"""
self.put('use_encryption', (pw is not None))
self.put('use_encryption', bool(pw))
self.decrypt(None, pw if encrypt else None)
def is_encrypted(self):