don't have FindClosest return true if we have no active dht nodes

This commit is contained in:
Jeff Becker 2018-06-23 10:25:19 -04:00
parent 39e11c2b7a
commit ce643cc8e0
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -448,7 +448,7 @@ namespace llarp
result = item.first;
}
}
return true;
return nodes.size() > 0;
}
bool