From d4193c55ae81159a7ecc84a79a2212cbcfb2471c Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 17 Feb 2016 10:45:33 -0500 Subject: [PATCH] update fetcher --- lbrynet/core/LBRYcrdWallet.py | 3 +++ lbrynet/lbrynet_daemon/LBRYDownloader.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lbrynet/core/LBRYcrdWallet.py b/lbrynet/core/LBRYcrdWallet.py index bc7c51a92..d53ac3ab6 100644 --- a/lbrynet/core/LBRYcrdWallet.py +++ b/lbrynet/core/LBRYcrdWallet.py @@ -600,6 +600,9 @@ class LBRYcrdWallet(LBRYWallet): def get_nametrie(self): return threads.deferToThread(self._get_nametrie_rpc) + def get_claims_from_tx(self, txid): + return self._get_claims_from_tx(txid) + def start_miner(self): d = threads.deferToThread(self._get_gen_status_rpc) d.addCallback(lambda status: threads.deferToThread(self._set_gen_status_rpc, True) if not status diff --git a/lbrynet/lbrynet_daemon/LBRYDownloader.py b/lbrynet/lbrynet_daemon/LBRYDownloader.py index f5ba68ca6..43b66cbbf 100644 --- a/lbrynet/lbrynet_daemon/LBRYDownloader.py +++ b/lbrynet/lbrynet_daemon/LBRYDownloader.py @@ -136,7 +136,7 @@ class FetcherDaemon(object): def _get_names(self): d = self.wallet.get_blockchain_info() - d.addCallback(lambda c: get_new_streams if c != self.lastbestblock else []) + d.addCallback(lambda c: get_new_streams(c) if c != self.lastbestblock else []) def get_new_streams(c): self.lastbestblock = c