tfollow-up previous - electrum - Electrum Bitcoin wallet
HTML git clone https://git.parazyd.org/electrum
DIR Log
DIR Files
DIR Refs
DIR Submodules
---
DIR commit 746dd725c60a26598e7dd1837c65175ce67d17a5
DIR parent 842fff832fd5e51bd7793a69f86063ed67e58d35
HTML 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(-)
---
DIR diff --git a/electrum/network.py b/electrum/network.py
t@@ -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: