tMerge pull request #3146 from SomberNight/xtype_ledger_segwit - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 7b1c5c27a3137c97c0985d95baa18c5e1446cd2f
DIR parent 84676634484651e47d33e2788957b672fb8858dc
HTML Author: ThomasV <thomasv@electrum.org>
Date: Sun, 29 Oct 2017 14:41:34 +0100
Merge pull request #3146 from SomberNight/xtype_ledger_segwit
fix xtype for ledger native segwit
Diffstat:
M plugins/ledger/ledger.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py
t@@ -61,7 +61,7 @@ class Ledger_Client():
#self.handler.show_message("Computing master public key")
try:
if (os.getenv("LEDGER_NATIVE_SEGWIT") is not None) and self.supports_native_segwit():
- xtype = 'segwit'
+ xtype = 'p2wpkh'
elif bip32_path.startswith("m/49'/"):
if not self.supports_segwit():
raise Exception("Firmware version too old for Segwit support. Please update at https://www.ledgerwallet.com")