fix connectnewpeers not using specified peer

master
Kevin Froman 2020-10-28 07:54:11 +00:00
parent 2601263b87
commit 256c402223
2 changed files with 3 additions and 2 deletions

View File

@ -45,7 +45,8 @@ def connect_new_peer_to_communicator(shared_state, peer='', useBootstrap=False):
peerList = keydb.listkeys.list_adders()
mainPeerList = keydb.listkeys.list_adders()
peerList = onionrpeers.get_score_sorted_peer_list()
if not peerList:
peerList = onionrpeers.get_score_sorted_peer_list()
"""
If we don't have enough peers connected or random chance,

View File

@ -1 +1 @@
1603853271
1603867091