commit a159cc3a0645c6829238742376d96d59d520483a
parent 8fabd1245d6c37d80525a917dadc26ee02d74e7a
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 9 Mar 2017 10:55:30 +0100
fix bug with storage.encrypt
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/storage.py b/lib/storage.py
@@ -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):