mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-05 05:15:12 +00:00
Minor fix for prior
Restores to a BIP44_Wallet. The other var is also in base class.
This commit is contained in:
parent
4a7cc1c65f
commit
9330750e82
1 changed files with 1 additions and 3 deletions
|
@ -33,8 +33,6 @@ except ImportError:
|
||||||
class BTChipWallet(BIP44_HW_Wallet):
|
class BTChipWallet(BIP44_HW_Wallet):
|
||||||
wallet_type = 'btchip'
|
wallet_type = 'btchip'
|
||||||
device = 'Ledger'
|
device = 'Ledger'
|
||||||
restore_wallet_class = BIP44_HW_Wallet
|
|
||||||
max_change_outputs = 1
|
|
||||||
|
|
||||||
def __init__(self, storage):
|
def __init__(self, storage):
|
||||||
BIP44_HW_Wallet.__init__(self, storage)
|
BIP44_HW_Wallet.__init__(self, storage)
|
||||||
|
@ -73,7 +71,7 @@ class BTChipWallet(BIP44_HW_Wallet):
|
||||||
splitPath = bip32_path.split('/')
|
splitPath = bip32_path.split('/')
|
||||||
if splitPath[0] == 'm':
|
if splitPath[0] == 'm':
|
||||||
splitPath = splitPath[1:]
|
splitPath = splitPath[1:]
|
||||||
bip32_path = bip32_path[2:]
|
bip32_path = bip32_path[2:]
|
||||||
fingerprint = 0
|
fingerprint = 0
|
||||||
if len(splitPath) > 1:
|
if len(splitPath) > 1:
|
||||||
prevPath = "/".join(splitPath[0:len(splitPath) - 1])
|
prevPath = "/".join(splitPath[0:len(splitPath) - 1])
|
||||||
|
|
Loading…
Add table
Reference in a new issue