mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
Implement missing can_sign_xpubkey
This commit is contained in:
parent
d3104a17b7
commit
c167ef6d35
1 changed files with 4 additions and 0 deletions
|
@ -130,6 +130,10 @@ class BTChipWallet(BIP32_HD_Wallet):
|
|||
if not self.accounts:
|
||||
return 'create_accounts'
|
||||
|
||||
def can_sign_xpubkey(self, x_pubkey):
|
||||
xpub, sequence = BIP32_Account.parse_xpubkey(x_pubkey)
|
||||
return xpub in self.master_public_keys.values()
|
||||
|
||||
def can_create_accounts(self):
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue