ttmp fix for circular imports - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9206b6225b0d197288a4f8d78c7ef8bd7c859448 DIR parent 828f07a1ff15507c572dd92871a6d86e31655888 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 20 Feb 2019 22:04:51 +0100 ttmp fix for circular imports Diffstat: M electrum/network.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- DIR diff --git a/electrum/network.py b/electrum/network.py t@@ -64,9 +64,6 @@ from .logging import get_logger, Logger _logger = get_logger(__name__) -# lightning network -from . import lnwatcher -from . import lnrouter NODES_RETRY_INTERVAL = 60 SERVER_RETRY_INTERVAL = 10 t@@ -300,6 +297,8 @@ class Network(Logger): self._set_status('disconnected') # lightning network + from . import lnwatcher + from . import lnrouter self.channel_db = lnrouter.ChannelDB(self) self.path_finder = lnrouter.LNPathFinder(self.channel_db) self.lnwatcher = lnwatcher.LNWatcher(self)