Update populate_connections () endpoints list with new clients (#1679)
* Update populate_connections () endpoints list for new clients * Use given endpoint
This commit is contained in:
parent
7cb42965e8
commit
daa3754bac
1 changed files with 1 additions and 0 deletions
|
@ -1251,6 +1251,7 @@ void nano::bootstrap_attempt::populate_connections ()
|
|||
client->run ();
|
||||
std::lock_guard<std::mutex> lock (mutex);
|
||||
clients.push_back (client);
|
||||
endpoints.insert (endpoint);
|
||||
}
|
||||
else if (connections == 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue