Bugfixes.

This commit is contained in:
JoelKatz
2012-06-20 18:38:28 -07:00
parent e63b68182d
commit 43425f39eb
4 changed files with 15 additions and 2 deletions

View File

@@ -575,7 +575,10 @@ void NetworkOPs::endConsensus()
std::vector<Peer::pointer> peerList = theApp->getConnectionPool().getPeerVector();
for (std::vector<Peer::pointer>::const_iterator it = peerList.begin(), end = peerList.end(); it != end; ++it)
if (*it && ((*it)->getClosedLedgerHash() == deadLedger))
{
Log(lsTRACE) << "Killing obsolete peer status";
(*it)->cycleStatus();
}
mConsensus = boost::shared_ptr<LedgerConsensus>();
}