get_client_status: remove redundant call to getRecentClosedPeers

This commit is contained in:
Vaidas Gasiunas 2023-01-16 14:01:01 +01:00
parent 735bfbc05f
commit d43b4e5777
1 changed files with 0 additions and 1 deletions

View File

@ -127,7 +127,6 @@ private:
auto& peers = FlowTransport::transport().getAllPeers();
auto peerIter = peers.find(address);
FlowTransport::transport().healthMonitor()->getRecentClosedPeers();
bool failed = IFailureMonitor::failureMonitor().getState(address).isFailed();
if (failed) {
connStatus["Status"] = "failed";