electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit dcfa7b508a1c216a2ba9798c27170c09e9c164b6
parent 4db5052cc6d4be832c820b4172993f34b9dbad8d
Author: ThomasV <thomasv@electrum.org>
Date:   Thu,  5 Jan 2017 06:20:02 +0100

fix password issue #2097

Diffstat:
Mlib/wallet.py | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/wallet.py b/lib/wallet.py @@ -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):