tstorage: call load_plugins in decrypt - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit d8c4bf5662f76d98ca0922a322de843ef9b6991a DIR parent 1e519f2dd0255862a6db0e55e0485e1668dfa257 HTML Author: ThomasV <thomasv@electrum.org> Date: Thu, 28 Feb 2019 15:50:37 +0100 storage: call load_plugins in decrypt Diffstat: M electrum/storage.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/storage.py b/electrum/storage.py t@@ -63,12 +63,12 @@ class WalletStorage(PrintError): self._encryption_version = self._init_encryption_version() if not self.is_encrypted(): self.db = DB_Class(self.raw, manual_upgrades=manual_upgrades) + self.load_plugins() else: self._encryption_version = STO_EV_PLAINTEXT # avoid new wallets getting 'upgraded' self.db = DB_Class('', manual_upgrades=False) - self.load_plugins() def load_plugins(self): wallet_type = self.db.get('wallet_type') t@@ -179,6 +179,7 @@ class WalletStorage(PrintError): self.pubkey = ec_key.get_public_key_hex() s = s.decode('utf8') self.db = JsonDB(s, manual_upgrades=True) + self.load_plugins() def encrypt_before_writing(self, plaintext: str) -> str: s = plaintext