1
0

do not add ephemeral addresses to recent peers

This commit is contained in:
ThomasV
2019-02-01 19:05:57 +01:00
parent 472e82e387
commit 61638664f7
2 changed files with 5 additions and 3 deletions

View File

@@ -804,7 +804,7 @@ class LNWorker(PrintError):
self.print_error('handshake failure from incoming connection')
return
# FIXME extract host and port from transport
peer = Peer(self, LNPeerAddr("bogus", 1337, node_id),
peer = Peer(self, LNPeerAddr("bogus", 1337, node_id), responding=True,
request_initial_sync=self.config.get("request_initial_sync", True),
transport=t)
self.peers[node_id] = peer