From e218c4a305d3ba25cce0b76e138332c501bf9298 Mon Sep 17 00:00:00 2001 From: SomberNight Date: Sun, 31 Dec 2017 02:42:02 +0100 Subject: [PATCH] disable p2wpkh for hw wallets for now --- lib/base_wizard.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/base_wizard.py b/lib/base_wizard.py index 8f144a388..7ab1e13a1 100644 --- a/lib/base_wizard.py +++ b/lib/base_wizard.py @@ -248,6 +248,9 @@ class BaseWizard(object): def on_hw_derivation(self, name, device_info, derivation): from .keystore import hardware_keystore xtype = keystore.xtype_from_derivation(derivation) + if xtype not in ('standard', 'p2wpkh-p2sh'): + self.show_error(_('Hardware wallet support for this script type is not yet enabled.')) + return try: xpub = self.plugin.get_xpub(device_info.device.id_, derivation, xtype, self) except BaseException as e: