commit 746dd725c60a26598e7dd1837c65175ce67d17a5 parent 842fff832fd5e51bd7793a69f86063ed67e58d35 Author: ThomasV <thomasv@electrum.org> Date: Fri, 3 May 2019 20:52:11 +0200 follow-up previous Diffstat:
M | electrum/network.py | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/electrum/network.py b/electrum/network.py @@ -300,9 +300,9 @@ class Network(Logger): from . import lnwatcher from . import lnworker from . import lnrouter - self.channel_db = lnrouter.ChannelDB(self) - self.path_finder = lnrouter.LNPathFinder(self.channel_db) if self.config.get('lightning'): + self.channel_db = lnrouter.ChannelDB(self) + self.path_finder = lnrouter.LNPathFinder(self.channel_db) self.lnwatcher = lnwatcher.LNWatcher(self) self.lngossip = lnworker.LNGossip(self) else: