forked from LBRYCommunity/lbry-sdk
fix peer_list
This commit is contained in:
parent
f4645f570c
commit
36243d15cc
1 changed files with 1 additions and 1 deletions
|
@ -4305,7 +4305,7 @@ class Daemon(metaclass=JSONRPCServerType):
|
||||||
search_bottom_out_limit = 4
|
search_bottom_out_limit = 4
|
||||||
peers = []
|
peers = []
|
||||||
peer_q = asyncio.Queue(loop=self.component_manager.loop)
|
peer_q = asyncio.Queue(loop=self.component_manager.loop)
|
||||||
await self.dht_node._value_producer(blob_hash, peer_q)
|
await self.dht_node._peers_for_value_producer(blob_hash, peer_q)
|
||||||
while not peer_q.empty():
|
while not peer_q.empty():
|
||||||
peers.extend(peer_q.get_nowait())
|
peers.extend(peer_q.get_nowait())
|
||||||
results = [
|
results = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue