ThomasV
6 years ago
committed by
SomberNight
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
2 additions and
2 deletions
-
electrum/network.py
|
|
@ -299,9 +299,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: |
|
|
|