electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit cbeb8abe4a7c5aed83b9f77755b4ee65006a4b67
parent a3790372d859add85de119aa7dc2d8a49880bb66
Author: ThomasV <thomasv@gitorious>
Date:   Sun, 31 Aug 2014 12:40:57 +0200

test wallet type in restore hook

Diffstat:
Mplugins/btchipwallet.py | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/plugins/btchipwallet.py b/plugins/btchipwallet.py @@ -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)