get_client_status: remove redundant call to getRecentClosedPeers
This commit is contained in:
parent
735bfbc05f
commit
d43b4e5777
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue