From 94b920ab2a8fcecc166b7fb525c8d4f15b16e331 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Mon, 17 Sep 2018 15:32:16 -0300 Subject: [PATCH] fix reconnect --- torba/basenetwork.py | 1 + 1 file changed, 1 insertion(+) diff --git a/torba/basenetwork.py b/torba/basenetwork.py index c1f3926d9..81085422f 100644 --- a/torba/basenetwork.py +++ b/torba/basenetwork.py @@ -138,6 +138,7 @@ class BaseNetwork: @defer.inlineCallbacks def start(self): + self.running = True for server in cycle(self.config['default_servers']): connection_string = 'tcp:{}:{}'.format(*server) endpoint = clientFromString(reactor, connection_string)