mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
only use ready paths
This commit is contained in:
parent
e08c8bf919
commit
744ebac579
|
@ -88,7 +88,7 @@ namespace llarp
|
|||
EndpointPathPtrSet found;
|
||||
m_OurPaths.ForEach([&](const PathSet_ptr& set) {
|
||||
set->ForEachPath([&](const Path_ptr& p) {
|
||||
if(p->Endpoint() == r)
|
||||
if(p->Endpoint() == r && p->IsReady())
|
||||
found.insert(p);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue