mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Get rid of "dead" ledgers. We don't need them any more and they make trouble.
Fix close time synch to be more accurate.
This commit is contained in:
@@ -257,7 +257,7 @@ void LedgerConsensus::checkLCL()
|
||||
typedef std::pair<const uint256, int> u256_int_pair;
|
||||
BOOST_FOREACH(u256_int_pair& it, vals)
|
||||
{
|
||||
if ((it.second > netLgrCount) && !theApp->getValidations().isDeadLedger(it.first))
|
||||
if (it.second > netLgrCount)
|
||||
{
|
||||
netLgr = it.first;
|
||||
netLgrCount = it.second;
|
||||
|
||||
Reference in New Issue
Block a user