mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-09-20 06:58:16 +03:00
ames: correctly identify stale routes
This commit is contained in:
parent
43dff9c279
commit
b2422030f7
@ -2061,7 +2061,7 @@
|
||||
(try-next-sponsor sponsor.peer-state)
|
||||
:: if forwarding, route must not be stale
|
||||
::
|
||||
?: &(for (lth last-contact.qos.peer-state (add now ~h1)))
|
||||
?: &(for (lth last-contact.qos.peer-state (sub now ~h1)))
|
||||
(try-next-sponsor sponsor.peer-state)
|
||||
::
|
||||
?~ route=route.peer-state
|
||||
|
Loading…
Reference in New Issue
Block a user