remove -1

pull/741/head
Jeff Becker 5 years ago
parent d595b51b0b
commit f4ac918b7e
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -666,7 +666,7 @@ namespace llarp
// requester is likely in the connected list
// 4 or connection nodes (minus a potential requestor), whatever is less
if(!_nodes->GetManyNearExcluding(t, foundRouters,
nodeCount >= 4 ? 4 : nodeCount - 1,
nodeCount >= 4 ? 4 : nodeCount,
std::set< Key_t >{ourKey, requester}))
{
llarp::LogError(

Loading…
Cancel
Save