mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-23 17:47:31 +00:00
digitalbitbox: enable native segwit
This commit is contained in:
parent
cf98c8f2c1
commit
f7d1d5a7c7
1 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ class DigitalBitbox_Client():
|
|||
|
||||
|
||||
def get_xpub(self, bip32_path, xtype):
|
||||
assert xtype in ('standard', 'p2wpkh-p2sh')
|
||||
assert xtype in ('standard', 'p2wpkh-p2sh', 'p2wpkh')
|
||||
reply = self._get_xpub(bip32_path)
|
||||
if reply:
|
||||
xpub = reply['xpub']
|
||||
|
@ -718,7 +718,7 @@ class DigitalBitboxPlugin(HW_PluginBase):
|
|||
|
||||
|
||||
def get_xpub(self, device_id, derivation, xtype, wizard):
|
||||
if xtype not in ('standard', 'p2wpkh-p2sh'):
|
||||
if xtype not in ('standard', 'p2wpkh-p2sh', 'p2wpkh'):
|
||||
raise ScriptTypeNotSupported(_('This type of script is not supported with the Digital Bitbox.'))
|
||||
devmgr = self.device_manager()
|
||||
client = devmgr.client_by_id(device_id)
|
||||
|
|
Loading…
Add table
Reference in a new issue