Merge pull request #1635 from tangdou1/patch-1

Fix bootstrapper is blocked by itself
This commit is contained in:
ZeroNet 2018-09-21 20:30:29 +02:00 committed by GitHub
commit 971212e7e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,7 +162,7 @@ class ConnectionServer(object):
if port == 0:
raise Exception("This peer is not connectable")
if (ip, port) in self.peer_blacklist:
if (ip, port) in self.peer_blacklist and not is_tracker_connection:
raise Exception("This peer is blacklisted")
try: