Fix own IP detection

- minor bug in the previous commit
This commit is contained in:
Peter Šurda 2017-05-31 00:22:07 +02:00
parent f23c169eec
commit d9e3349eeb
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

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