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:
Sergey Kroshnin 2019-02-01 15:27:25 +03:00 committed by GitHub
commit daa3754bac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
{