From cfe8e17223301519e88bebd5dfb621b394d0cf41 Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Thu, 12 Jul 2018 18:24:18 -0300 Subject: [PATCH] filter out the bad node in results instead of punishing the node we trusted to contact --- lbrynet/dht/iterativefind.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/dht/iterativefind.py b/lbrynet/dht/iterativefind.py index 5b0e9c992..f1158d10d 100644 --- a/lbrynet/dht/iterativefind.py +++ b/lbrynet/dht/iterativefind.py @@ -110,7 +110,7 @@ class _IterativeFind(object): if (contactTriple[1], contactTriple[2]) in ((c.address, c.port) for c in self.already_contacted): continue elif self.node.contact_manager.is_ignored((contactTriple[1], contactTriple[2])): - raise ValueError("contact is ignored") + continue else: found_contact = self.node.contact_manager.make_contact(contactTriple[0], contactTriple[1], contactTriple[2], self.node._protocol)