Fix getConnectablePeers for low peer sites

This commit is contained in:
shortcutme 2018-10-20 02:26:29 +02:00
parent 0045206735
commit 39d442a05d
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -845,7 +845,7 @@ class Site(object):
break # Found requested number of peers
if len(found) < need_num: # Return not that good peers
found = [
found += [
peer for peer in peers
if not peer.key.endswith(":0") and
peer.key not in ignore and