Browse Source

disable peer filtering in lnworker

hard-fail-on-bad-server-string
ThomasV 5 years ago
parent
commit
1b586faec9
  1. 3
      electrum/lnworker.py

3
electrum/lnworker.py

@ -201,6 +201,9 @@ class LNWorker(Logger):
self.network.asyncio_loop) self.network.asyncio_loop)
def is_good_peer(self, peer): def is_good_peer(self, peer):
# the purpose of this method is to filter peers that advertise the desired feature bits
# it is disabled for now, because feature bits published in node announcements seem to be unreliable
return True
node_id = peer.pubkey node_id = peer.pubkey
node = self.channel_db._nodes.get(node_id) node = self.channel_db._nodes.get(node_id)
if not node: if not node:

Loading…
Cancel
Save