From 8efede6ad67b9889ab04c627b8a85ed9c446403a Mon Sep 17 00:00:00 2001 From: Jack Robison Date: Tue, 29 May 2018 11:01:58 -0400 Subject: [PATCH] maybe_ping bad and unknown contacts instead of only unknown --- lbrynet/dht/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/dht/protocol.py b/lbrynet/dht/protocol.py index 829c02e9b..f7a39a832 100644 --- a/lbrynet/dht/protocol.py +++ b/lbrynet/dht/protocol.py @@ -53,7 +53,7 @@ class PingQueue(object): checked = [] while now > self._enqueued_contacts[contact]: checked.append(contact) - if contact.contact_is_good is None: + if not contact.contact_is_good: pinged.append(contact) if not len(self._queue): break