Don't send rediscovery requests on local originator

This commit is contained in:
Mark Qvist 2023-11-02 13:33:12 +01:00
parent b161650ced
commit 237a45b2ca
1 changed files with 2 additions and 1 deletions

View File

@ -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)