ttest wallet type in restore hook - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit cbeb8abe4a7c5aed83b9f77755b4ee65006a4b67 DIR parent a3790372d859add85de119aa7dc2d8a49880bb66 HTML Author: ThomasV <thomasv@gitorious> Date: Sun, 31 Aug 2014 12:40:57 +0200 ttest wallet type in restore hook Diffstat: M plugins/btchipwallet.py | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py t@@ -86,6 +86,8 @@ class Plugin(BasePlugin): @hook def installwizard_restore(self, wizard, storage): + if storage.get('wallet_type') != 'btchip': + return wallet = BTChipWallet(storage) try: wallet.create_main_account(None)