mirror of
https://github.com/oxen-io/lokinet
synced 2023-12-14 06:53:00 +01:00
make it compile
This commit is contained in:
parent
cff6bc1c8d
commit
d5caec719f
1 changed files with 1 additions and 2 deletions
|
@ -427,10 +427,9 @@ llarp_nodedb::select_random_hop(const llarp::RouterContact &prev,
|
|||
size_t sz = entries.size();
|
||||
if(sz < 3)
|
||||
return false;
|
||||
size_t tries = 5;
|
||||
llarp_time_t now = llarp::time_now_ms();
|
||||
if(!N)
|
||||
return false;
|
||||
llarp_time_t now = llarp::time_now_ms();
|
||||
|
||||
auto itr = entries.begin();
|
||||
size_t pos = llarp::randint() % sz;
|
||||
|
|
Loading…
Reference in a new issue