1
0

transaction: kill "name", "csv_delay", "cltv_expiry" fields

This commit is contained in:
SomberNight
2019-09-09 19:38:35 +02:00
parent e5502a58ba
commit befa8ea771
9 changed files with 81 additions and 75 deletions

View File

@@ -62,6 +62,8 @@ from .logging import get_logger, Logger
if TYPE_CHECKING:
from .channel_db import ChannelDB
from .lnworker import LNGossip
from .lnwatcher import WatchTower
_logger = get_logger(__name__)
@@ -311,8 +313,8 @@ class Network(Logger):
self.local_watchtower = lnwatcher.WatchTower(self) if self.config.get('local_watchtower', False) else None
else:
self.channel_db = None # type: Optional[ChannelDB]
self.lngossip = None
self.local_watchtower = None
self.lngossip = None # type: Optional[LNGossip]
self.local_watchtower = None # type: Optional[WatchTower]
def run_from_another_thread(self, coro, *, timeout=None):
assert self._loop_thread != threading.current_thread(), 'must not be called from network thread'