electrum

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

commit 45aab8654d3e2cfb2d01aa04f55693411872f0eb
parent 3f64e4d1f8dfea9396a2e746801f46ea41df8064
Author: ThomasV <thomasv@electrum.org>
Date:   Thu, 20 Oct 2016 08:32:44 +0200

fix crash #1987

Diffstat:
Mlib/base_wizard.py | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/base_wizard.py b/lib/base_wizard.py @@ -208,7 +208,12 @@ class BaseWizard(object): def on_device(self, name, device_info): self.plugin = self.plugins.get_plugin(name) - self.plugin.setup_device(device_info, self) + try: + self.plugin.setup_device(device_info, self) + except BaseException as e: + self.show_error(str(e)) + self.choose_hw_device() + return if self.wallet_type=='multisig': # There is no general standard for HD multisig. # This is partially compatible with BIP45; assumes index=0