From 505ece9e3675558ecd063b52e4cad6e40fd9233d Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 8 Aug 2016 02:37:08 -0400 Subject: [PATCH] add txid param to get_claim_info and update todo note --- lbrynet/lbrynet_daemon/LBRYDaemon.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lbrynet/lbrynet_daemon/LBRYDaemon.py b/lbrynet/lbrynet_daemon/LBRYDaemon.py index d6987aa2c..4089e6d14 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -1708,7 +1708,8 @@ class LBRYDaemon(jsonrpc.JSONRPC): return r 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(lambda r: self._render_response(r, OK_CODE)) return d @@ -1837,7 +1838,7 @@ class LBRYDaemon(jsonrpc.JSONRPC): 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(): search = p['search']