add txid param to get_claim_info and update todo note
This commit is contained in:
parent
72acfa1e0c
commit
505ece9e36
1 changed files with 3 additions and 2 deletions
|
@ -1708,7 +1708,8 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
return r
|
return r
|
||||||
|
|
||||||
name = p['name']
|
name = p['name']
|
||||||
d = self.session.wallet.get_claim_info(name)
|
txid = p.get('txid', None)
|
||||||
|
d = self.session.wallet.get_claim_info(name, txid)
|
||||||
d.addCallback(_convert_amount_to_float)
|
d.addCallback(_convert_amount_to_float)
|
||||||
d.addCallback(lambda r: self._render_response(r, OK_CODE))
|
d.addCallback(lambda r: self._render_response(r, OK_CODE))
|
||||||
return d
|
return d
|
||||||
|
@ -1837,7 +1838,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
|
||||||
List of search results
|
List of search results
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# TODO: change this function to "search", and use cached stream size info from the search server
|
# TODO: change this function to "search"
|
||||||
|
|
||||||
if 'search' in p.keys():
|
if 'search' in p.keys():
|
||||||
search = p['search']
|
search = p['search']
|
||||||
|
|
Loading…
Reference in a new issue