docstring and todo

This commit is contained in:
Jack 2016-07-29 22:49:50 -04:00
parent 1e1d036590
commit cf8592ba12

View file

@ -1889,7 +1889,7 @@ class LBRYDaemon(jsonrpc.JSONRPC):
def jsonrpc_search_nametrie(self, p): def jsonrpc_search_nametrie(self, p):
""" """
Search the nametrie for claims beginning with search (yes, this is a dumb search, it'll be made better) Search the nametrie for claims
Args: Args:
'search': search query, string 'search': search query, string
@ -1897,6 +1897,8 @@ 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
if 'search' in p.keys(): if 'search' in p.keys():
search = p['search'] search = p['search']
else: else: