1
0

Merge pull request #7152 from bitromortac/2103-liquidity-hints

Liquidity hints for pathfinding
This commit is contained in:
ghost43
2021-04-22 14:45:41 +00:00
committed by GitHub
11 changed files with 548 additions and 149 deletions

View File

@@ -62,7 +62,6 @@ from .version import PROTOCOL_VERSION
from .simple_config import SimpleConfig
from .i18n import _
from .logging import get_logger, Logger
from .lnutil import ChannelBlackList
if TYPE_CHECKING:
from .channel_db import ChannelDB
@@ -350,7 +349,6 @@ class Network(Logger, NetworkRetryManager[ServerAddr]):
self._has_ever_managed_to_connect_to_server = False
# lightning network
self.channel_blacklist = ChannelBlackList()
if self.config.get('run_watchtower', False):
from . import lnwatcher
self.local_watchtower = lnwatcher.WatchTower(self)