From 97cbe43294c0360f7b35d1774b095d93e8f1a385 Mon Sep 17 00:00:00 2001 From: lakshyacis Date: Wed, 4 Sep 2019 19:54:27 +0530 Subject: [PATCH] invthread flake8 fixes --- src/network/invthread.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/network/invthread.py b/src/network/invthread.py index e79172ba..d0dbb387 100644 --- a/src/network/invthread.py +++ b/src/network/invthread.py @@ -37,11 +37,11 @@ class InvThread(StoppableThread): def handleLocallyGenerated(self, stream, hashId): Dandelion().addHash(hashId, stream=stream) for connection in \ - BMConnectionPool().inboundConnections.values() + \ + BMConnectionPool().inboundConnections.values() + \ BMConnectionPool().outboundConnections.values(): - if state.dandelion and connection != Dandelion().objectChildStem(hashId): - continue - connection.objectsNewToThem[hashId] = time() + if state.dandelion and connection != Dandelion().objectChildStem(hashId): + continue + connection.objectsNewToThem[hashId] = time() def run(self): while not state.shutdown: