mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
disable p2wpkh for hw wallets for now
This commit is contained in:
parent
e3164286d0
commit
e218c4a305
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue