forked from LBRYCommunity/lbry-sdk
adds get_claims_for_name
This commit is contained in:
parent
04e0933d36
commit
ce4d734250
2 changed files with 6 additions and 0 deletions
|
@ -195,6 +195,9 @@ class LbryWalletManager(BaseWalletManager):
|
|||
(value for value in results.values() if 'error' not in value))
|
||||
defer.returnValue(results)
|
||||
|
||||
def get_claims_for_name(self, name: str):
|
||||
return self.ledger.network.get_claims_for_name(name)
|
||||
|
||||
def get_name_claims(self):
|
||||
return defer.succeed([])
|
||||
|
||||
|
|
|
@ -17,3 +17,6 @@ class Network(BaseNetwork):
|
|||
|
||||
def get_claims_in_tx(self, txid):
|
||||
return self.rpc('blockchain.claimtrie.getclaimsintx', txid)
|
||||
|
||||
def get_claims_for_name(self, name):
|
||||
return self.rpc('blockchain.claimtrie.getclaimsforname', name)
|
||||
|
|
Loading…
Reference in a new issue