From d9e3349eeb861316d955c11acac41b201c9717f9 Mon Sep 17 00:00:00 2001 From: Peter Surda Date: Wed, 31 May 2017 00:22:07 +0200 Subject: [PATCH] Fix own IP detection - minor bug in the previous commit --- src/network/connectionpool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/connectionpool.py b/src/network/connectionpool.py index 4afada16..447e8170 100644 --- a/src/network/connectionpool.py +++ b/src/network/connectionpool.py @@ -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: