Fix own IP detection

- minor bug in the previous commit
master
Peter Šurda 7 years ago
parent f23c169eec
commit d9e3349eeb
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

@ -135,7 +135,7 @@ class BMConnectionPool(object):
if chosen.host in self.inboundConnections:
continue
# don't connect to self
if chosen.host in state.ownAddresses:
if chosen in state.ownAddresses:
continue
#for c in self.outboundConnections:

Loading…
Cancel
Save