tfix bug with storage.encrypt - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit a159cc3a0645c6829238742376d96d59d520483a DIR parent 8fabd1245d6c37d80525a917dadc26ee02d74e7a HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 9 Mar 2017 10:55:30 +0100 fix bug with storage.encrypt Diffstat: M lib/storage.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) --- DIR diff --git a/lib/storage.py b/lib/storage.py t@@ -103,6 +103,7 @@ class WalletStorage(PrintError): def decrypt(self, password): ec_key = self.get_key(password) s = zlib.decompress(ec_key.decrypt_message(self.raw)) if self.raw else None + self.pubkey = ec_key.get_public_key() self.load_data(s) def set_password(self, password, encrypt):