commit 7b1c5c27a3137c97c0985d95baa18c5e1446cd2f
parent 84676634484651e47d33e2788957b672fb8858dc
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:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py
@@ -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")