mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-28 16:01:30 +00:00
Revert "disable p2wpkh for hw wallets for now"
This reverts commit e218c4a305
.
This commit is contained in:
parent
d731df3b22
commit
f3f43c8f2a
1 changed files with 0 additions and 3 deletions
|
@ -258,9 +258,6 @@ class BaseWizard(object):
|
||||||
def on_hw_derivation(self, name, device_info, derivation):
|
def on_hw_derivation(self, name, device_info, derivation):
|
||||||
from .keystore import hardware_keystore
|
from .keystore import hardware_keystore
|
||||||
xtype = keystore.xtype_from_derivation(derivation)
|
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:
|
try:
|
||||||
xpub = self.plugin.get_xpub(device_info.device.id_, derivation, xtype, self)
|
xpub = self.plugin.get_xpub(device_info.device.id_, derivation, xtype, self)
|
||||||
except ScriptTypeNotSupported:
|
except ScriptTypeNotSupported:
|
||||||
|
|
Loading…
Add table
Reference in a new issue