diff --git a/lib/base_wizard.py b/lib/base_wizard.py index 37c800317..5f1382274 100644 --- a/lib/base_wizard.py +++ b/lib/base_wizard.py @@ -213,6 +213,9 @@ class BaseWizard(object): from keystore import hardware_keystore, bip44_derivation derivation = bip44_derivation(int(account_id)) xpub = self.plugin.get_xpub(device_info.device.id_, derivation, self) + if xpub is None: + self.show_error('Cannot read xpub from device') + return d = { 'type': 'hardware', 'hw_type': name,