From e25be5a5224a061b151593729d64097dce5d645e Mon Sep 17 00:00:00 2001 From: Jack Date: Mon, 25 Jan 2016 23:59:57 -0500 Subject: [PATCH] Update lbrynet-daemon Use PaymentRateManager --- 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 f43b9847f..3c4d81ad9 100644 --- a/lbrynet/lbrynet_daemon/LBRYDaemon.py +++ b/lbrynet/lbrynet_daemon/LBRYDaemon.py @@ -498,14 +498,15 @@ class LBRYDaemon(xmlrpc.XMLRPC): return d d = self.session.wallet.get_stream_info_for_name(name) - d.addCallback(lambda info: download_sd_blob(self.session, info['stream_hash'], self.session.base_payment_rate_manager)) + d.addCallback(lambda info: download_sd_blob(self.session, info['stream_hash'], + self.blob_request_payment_rate_manager)) d.addCallback(self.sd_identifier.get_metadata_for_sd_blob) d.addCallback(lambda metadata: metadata.validator.info_to_show()) d.addCallback(_to_dict) d.addCallback(lambda info: int(info['stream_size'])/1000000*self.data_rate) d.addCallback(_add_key_fee) d.addErrback(lambda _: _add_key_fee(0.0)) - reactor.callLater(7.5, _check_est, d, name) + reactor.callLater(3.0, _check_est, d, name) return d