1
0

Put restore_wallet_class back in the derived classes

This commit is contained in:
Neil Booth
2016-01-10 18:41:20 +09:00
parent 5e8d28a187
commit 5baa5feb11
3 changed files with 3 additions and 1 deletions

View File

@@ -32,6 +32,7 @@ except ImportError:
class BTChipWallet(BIP44_Wallet):
wallet_type = 'btchip'
device = 'Ledger'
restore_wallet_class = BIP44_Wallet
def __init__(self, storage):
BIP44_Wallet.__init__(self, storage)

View File

@@ -32,6 +32,8 @@ class TrezorCompatibleWallet(BIP44_Wallet):
# - DEVICE_IDS
# - wallet_type
restore_wallet_class = BIP44_Wallet
def __init__(self, storage):
BIP44_Wallet.__init__(self, storage)
# After timeout seconds we clear the device session