tfix password bug with xprv wallet - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 490de0d8ceffe7ff0a8d730deaac227b74bb66ac DIR parent 464dc9ad7d8177faf8de9a182c88e52b13f16251 HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 4 Mar 2015 18:57:28 +0100 fix password bug with xprv wallet Diffstat: M lib/wallet.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/lib/wallet.py b/lib/wallet.py t@@ -1357,6 +1357,8 @@ class BIP32_Simple_Wallet(BIP32_Wallet): self.add_master_private_key(self.root_name, xprv, password) self.add_master_public_key(self.root_name, xpub) self.add_account('0', account) + self.use_encryption = (password != None) + self.storage.put('use_encryption', self.use_encryption,True) def create_xpub_wallet(self, xpub): account = BIP32_Account({'xpub':xpub})