This commit is contained in:
ThomasV 2017-10-31 14:07:24 +01:00
parent f5ade2da86
commit d3465bb60a
1 changed files with 1 additions and 1 deletions

View File

@ -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")