Merge remote-tracking branch 'origin/fix-1414'
This commit is contained in:
commit
e4497c1327
1 changed files with 2 additions and 2 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Reference in a new issue