1
0

Have BTChipWallet derive from BIP44_Wallet

Narrowing the gap with the Trezor code a bit
This commit is contained in:
Neil Booth
2016-01-10 17:38:39 +09:00
parent 2c29cd3bba
commit 9946feb352
3 changed files with 3 additions and 30 deletions

View File

@@ -1746,6 +1746,7 @@ class BIP32_HD_Wallet(BIP32_Wallet):
class BIP44_Wallet(BIP32_HD_Wallet):
root_derivation = "m/44'/0'"
wallet_type = 'bip44'
restore_wallet_class = BIP44_Wallet
def can_sign_xpubkey(self, x_pubkey):
xpub, sequence = BIP32_Account.parse_xpubkey(x_pubkey)