From 237a45b2ca1af8b4a43cecdbc7971d95b2526776 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Thu, 2 Nov 2023 13:33:12 +0100 Subject: [PATCH] Don't send rediscovery requests on local originator --- RNS/Transport.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RNS/Transport.py b/RNS/Transport.py index 7915773..d2a88c4 100755 --- a/RNS/Transport.py +++ b/RNS/Transport.py @@ -334,7 +334,8 @@ class Transport: if time.time() - last_path_request > Transport.PATH_REQUEST_MI: RNS.log("Trying to rediscover path for "+RNS.prettyhexrep(link.destination.hash)+" since an attempted link was never established", RNS.LOG_DEBUG) if not link.destination.hash in path_requests: - path_requests[link.destination.hash] = None + blocked_if = link_entry[4] + path_requests[link.destination.hash] = blocked_if Transport.pending_links.remove(link)