remove -1

This commit is contained in:
Jeff Becker 2019-07-30 13:56:24 -04:00
parent d595b51b0b
commit f4ac918b7e
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

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