Merge remote-tracking branch 'origin/fix-1414'

This commit is contained in:
Jack Robison 2018-10-10 11:16:45 -04:00
commit e4497c1327
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -663,9 +663,9 @@ class Daemon(AuthJSONRPCServer):
unreachable_peers = [] unreachable_peers = []
try: try:
peers = yield self.jsonrpc_peer_list(blob_hash, search_timeout) 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, "blob_hash": blob_hash,
"timeout": blob_timeout} for x in peers if x[2]] "timeout": blob_timeout} for x in peers]
dl = [] dl = []
dl_peers = [] dl_peers = []
dl_results = [] dl_results = []