diff --git a/src/communicatorutils/connectnewpeers.py b/src/communicatorutils/connectnewpeers.py index 913ce81c..3278c569 100755 --- a/src/communicatorutils/connectnewpeers.py +++ b/src/communicatorutils/connectnewpeers.py @@ -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, diff --git a/tests/runtime-result.txt b/tests/runtime-result.txt index cce6edc0..468a8265 100644 --- a/tests/runtime-result.txt +++ b/tests/runtime-result.txt @@ -1 +1 @@ -1603853271 \ No newline at end of file +1603867091 \ No newline at end of file