Browse Source

follow-up previous

master
ThomasV 7 years ago
parent
commit
746dd725c6
  1. 4
      electrum/network.py

4
electrum/network.py

@ -300,9 +300,9 @@ class Network(Logger):
from . import lnwatcher from . import lnwatcher
from . import lnworker from . import lnworker
from . import lnrouter from . import lnrouter
self.channel_db = lnrouter.ChannelDB(self)
self.path_finder = lnrouter.LNPathFinder(self.channel_db)
if self.config.get('lightning'): 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.lnwatcher = lnwatcher.LNWatcher(self)
self.lngossip = lnworker.LNGossip(self) self.lngossip = lnworker.LNGossip(self)
else: else:

Loading…
Cancel
Save