1
0

Fix root derivation changes for BIP44_Wallets

Wallet keys use root_name
Also typo xub -> xpub
This commit is contained in:
Neil Booth
2016-01-11 10:53:07 +09:00
parent e5aa543707
commit b120dd8849
2 changed files with 7 additions and 4 deletions

View File

@@ -95,7 +95,7 @@ class TrezorCompatibleWallet(BIP44_Wallet):
return (account.first_address()[0] if account else None, derivation)
def derive_xkeys(self, root, derivation, password):
if self.master_public_keys.get(root):
if self.master_public_keys.get(self.root_name):
return BIP44_wallet.derive_xkeys(self, root, derivation, password)
# When creating a wallet we need to ask the device for the