Merge pull request #1635 from tangdou1/patch-1
Fix bootstrapper is blocked by itself
This commit is contained in:
commit
971212e7e9
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class ConnectionServer(object):
|
||||||
if port == 0:
|
if port == 0:
|
||||||
raise Exception("This peer is not connectable")
|
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")
|
raise Exception("This peer is blacklisted")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in a new issue