mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't try to calculate close time offsets if a ledger closed due to being idle.
This commit is contained in:
@@ -937,7 +937,8 @@ void LedgerConsensus::accept(SHAMap::pointer set)
|
||||
mState = lcsACCEPTED;
|
||||
sl.unlock();
|
||||
|
||||
{
|
||||
if (mValidating && mOurPosition->getCurrentHash().isNonZero())
|
||||
{ // see how close our close time is to other node's close time reports
|
||||
Log(lsINFO) << "We closed at " << boost::lexical_cast<std::string>(mCloseTime);
|
||||
uint64 closeTotal = mCloseTime;
|
||||
int closeCount = 1;
|
||||
|
||||
Reference in New Issue
Block a user