diff --git a/lib/storage.py b/lib/storage.py index 70604e2f5..26657da94 100644 --- 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):