commit d3465bb60ab8f48e6e7657651aa4373abb6efbc3
parent f5ade2da86200ea477a5e984d159cad493c7a42d
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 31 Oct 2017 14:07:24 +0100
fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py
@@ -60,7 +60,7 @@ class Ledger_Client():
#self.get_client() # prompt for the PIN before displaying the dialog if necessary
#self.handler.show_message("Computing master public key")
try:
- if xtype in ['p2wpkh', 'p2wsh'] and not nelf.supports_native_segwit():
+ if xtype in ['p2wpkh', 'p2wsh'] and not self.supports_native_segwit():
raise Exception("Firmware version too old for Segwit support. Please update at https://www.ledgerwallet.com")
if xtype in ['p2wpkh-p2sh', 'p2wsh-p2sh'] and not self.supports_segwit():
raise Exception("Firmware version too old for Segwit support. Please update at https://www.ledgerwallet.com")