From a1bf832ea6d5b9aba9ab299bc8e20c919d8c764a Mon Sep 17 00:00:00 2001 From: hackrush Date: Wed, 10 Oct 2018 00:20:44 +0530 Subject: [PATCH] fix blob_availability --- lbrynet/daemon/Daemon.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/daemon/Daemon.py b/lbrynet/daemon/Daemon.py index d62cb44a7..3b347a154 100644 --- a/lbrynet/daemon/Daemon.py +++ b/lbrynet/daemon/Daemon.py @@ -663,9 +663,9 @@ class Daemon(AuthJSONRPCServer): unreachable_peers = [] try: peers = yield self.jsonrpc_peer_list(blob_hash, search_timeout) - peer_infos = [{"peer": Peer(x[0], x[1]), + peer_infos = [{"peer": Peer(x['host'], x['port']), "blob_hash": blob_hash, - "timeout": blob_timeout} for x in peers if x[2]] + "timeout": blob_timeout} for x in peers] dl = [] dl_peers = [] dl_results = []