From daa3754bac49767560152ec6cbff0cce5ef1da17 Mon Sep 17 00:00:00 2001 From: Sergey Kroshnin Date: Fri, 1 Feb 2019 15:27:25 +0300 Subject: [PATCH] Update populate_connections () endpoints list with new clients (#1679) * Update populate_connections () endpoints list for new clients * Use given endpoint --- nano/node/bootstrap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/nano/node/bootstrap.cpp b/nano/node/bootstrap.cpp index a1ad30091..5b1159a5b 100644 --- a/nano/node/bootstrap.cpp +++ b/nano/node/bootstrap.cpp @@ -1251,6 +1251,7 @@ void nano::bootstrap_attempt::populate_connections () client->run (); std::lock_guard lock (mutex); clients.push_back (client); + endpoints.insert (endpoint); } else if (connections == 0) {