electrum

Electrum Bitcoin wallet
git clone https://git.parazyd.org/electrum
Log | Files | Refs | Submodules

commit f7d1d5a7c75b2b16b7d2c2c79f82f892bcdb5ca5
parent cf98c8f2c15e5b0fdec0ce2150afc8993601f21a
Author: benma <mbencun@gmail.com>
Date:   Fri,  6 Apr 2018 14:36:56 +0200

digitalbitbox: enable native segwit

Diffstat:
Mplugins/digitalbitbox/digitalbitbox.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/digitalbitbox/digitalbitbox.py b/plugins/digitalbitbox/digitalbitbox.py @@ -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)