use llarp::path::default_len to inform how many routers we need

pull/768/head
Jeff Becker 5 years ago
parent 4c9675ffe7
commit c14993bc56
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -658,9 +658,9 @@ namespace llarp
const size_t connected = NumberOfConnectedRouters();
const size_t N = nodedb()->num_loaded();
if(N < 4)
if(N < llarp::path::default_len)
{
LogInfo("We need at least ", 4,
LogInfo("We need at least ", llarp::path::default_len,
" service nodes to build paths but we have ", N, " in nodedb");
_rcLookupHandler.ExploreNetwork();

Loading…
Cancel
Save