mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-31 09:20:21 +00:00
remove -1
This commit is contained in:
parent
d595b51b0b
commit
f4ac918b7e
@ -666,7 +666,7 @@ namespace llarp
|
|||||||
// requester is likely in the connected list
|
// requester is likely in the connected list
|
||||||
// 4 or connection nodes (minus a potential requestor), whatever is less
|
// 4 or connection nodes (minus a potential requestor), whatever is less
|
||||||
if(!_nodes->GetManyNearExcluding(t, foundRouters,
|
if(!_nodes->GetManyNearExcluding(t, foundRouters,
|
||||||
nodeCount >= 4 ? 4 : nodeCount - 1,
|
nodeCount >= 4 ? 4 : nodeCount,
|
||||||
std::set< Key_t >{ourKey, requester}))
|
std::set< Key_t >{ourKey, requester}))
|
||||||
{
|
{
|
||||||
llarp::LogError(
|
llarp::LogError(
|
||||||
|
Loading…
Reference in New Issue
Block a user