From 746dd725c60a26598e7dd1837c65175ce67d17a5 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 3 May 2019 20:52:11 +0200 Subject: [PATCH] follow-up previous --- electrum/network.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/electrum/network.py b/electrum/network.py index 0c18321d2..3726876d8 100644 --- 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: