1
0

follow-up prev

This commit is contained in:
SomberNight
2019-10-15 15:41:18 +02:00
parent 38622c0a99
commit 106bc6d2b2
2 changed files with 5 additions and 4 deletions

View File

@@ -250,7 +250,8 @@ class ChannelDB(SqlDB):
self._channels = {} # type: Dict[bytes, ChannelInfo]
self._policies = {}
self._nodes = {}
self._addresses = defaultdict(set)
# node_id -> (host, port, ts)
self._addresses = defaultdict(set) # type: Dict[bytes, Set[Tuple[str, int, int]]]
self._channels_for_node = defaultdict(set)
self.data_loaded = asyncio.Event()
self.network = network # only for callback