mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove excessive redirect call on PeerManager
This commit is contained in:
committed by
Nik Bougalis
parent
62a3f33d72
commit
dbd25f0e32
@@ -387,7 +387,6 @@ OverlayImpl::makeRedirectResponse(
|
||||
msg.insert(boost::beast::http::field::connection, "close");
|
||||
msg.body() = Json::objectValue;
|
||||
{
|
||||
auto const result = m_peerFinder->redirect(slot);
|
||||
Json::Value& ips = (msg.body()["peer-ips"] = Json::arrayValue);
|
||||
for (auto const& _ : m_peerFinder->redirect(slot))
|
||||
ips.append(_.address.to_string());
|
||||
|
||||
Reference in New Issue
Block a user