tfix password issue #2097 - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit dcfa7b508a1c216a2ba9798c27170c09e9c164b6 DIR parent 4db5052cc6d4be832c820b4172993f34b9dbad8d HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 5 Jan 2017 06:20:02 +0100 fix password issue #2097 Diffstat: M lib/wallet.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -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):