mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 18:25:21 +00:00
follow-up previous
This commit is contained in:
parent
842fff832f
commit
746dd725c6
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
if self.config.get('lightning'):
|
||||||
self.channel_db = lnrouter.ChannelDB(self)
|
self.channel_db = lnrouter.ChannelDB(self)
|
||||||
self.path_finder = lnrouter.LNPathFinder(self.channel_db)
|
self.path_finder = lnrouter.LNPathFinder(self.channel_db)
|
||||||
if self.config.get('lightning'):
|
|
||||||
self.lnwatcher = lnwatcher.LNWatcher(self)
|
self.lnwatcher = lnwatcher.LNWatcher(self)
|
||||||
self.lngossip = lnworker.LNGossip(self)
|
self.lngossip = lnworker.LNGossip(self)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Reference in a new issue