From 1b586faec95b65a237e4533c9ebacd434a15b590 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 21 Feb 2020 17:41:20 +0100 Subject: [PATCH] disable peer filtering in lnworker --- electrum/lnworker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/electrum/lnworker.py b/electrum/lnworker.py index 9582a5276..63cf1788a 100644 --- a/electrum/lnworker.py +++ b/electrum/lnworker.py @@ -201,6 +201,9 @@ class LNWorker(Logger): self.network.asyncio_loop) 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 = self.channel_db._nodes.get(node_id) if not node: