From 9330750e827626b9e8a1ddb0a525ca77349faecf Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Sat, 30 Jan 2016 17:44:19 +0900 Subject: [PATCH] Minor fix for prior Restores to a BIP44_Wallet. The other var is also in base class. --- plugins/ledger/ledger.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/ledger/ledger.py b/plugins/ledger/ledger.py index f21d2741f..970336ba7 100644 --- a/plugins/ledger/ledger.py +++ b/plugins/ledger/ledger.py @@ -33,8 +33,6 @@ except ImportError: class BTChipWallet(BIP44_HW_Wallet): wallet_type = 'btchip' device = 'Ledger' - restore_wallet_class = BIP44_HW_Wallet - max_change_outputs = 1 def __init__(self, storage): BIP44_HW_Wallet.__init__(self, storage) @@ -73,7 +71,7 @@ class BTChipWallet(BIP44_HW_Wallet): splitPath = bip32_path.split('/') if splitPath[0] == 'm': splitPath = splitPath[1:] - bip32_path = bip32_path[2:] + bip32_path = bip32_path[2:] fingerprint = 0 if len(splitPath) > 1: prevPath = "/".join(splitPath[0:len(splitPath) - 1])