commit 1b586faec95b65a237e4533c9ebacd434a15b590 parent 3329d9dd0ee00cbfa940f4995c84acb6ad3f97a5 Author: ThomasV <thomasv@electrum.org> Date: Fri, 21 Feb 2020 17:41:20 +0100 disable peer filtering in lnworker Diffstat:
M | electrum/lnworker.py | | | 3 | +++ |
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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: