mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Remove debug.
This commit is contained in:
@@ -370,7 +370,6 @@ int LedgerConsensus::statePreClose()
|
||||
|
||||
int sinceClose = theApp->getOPs().getNetworkTimeNC() - mPreviousLedger->getCloseTimeNC();
|
||||
|
||||
Log(lsINFO) << "CLC:: pre close: sinceClose=" << sinceClose;
|
||||
if (ContinuousLedgerTiming::shouldClose(anyTransactions, mPreviousProposers, proposersClosed,
|
||||
mPreviousSeconds, sinceClose) <= sinceClose)
|
||||
{ // it is time to close the ledger (swap default and wobble ledgers)
|
||||
@@ -384,7 +383,6 @@ int LedgerConsensus::statePreClose()
|
||||
assert (initial->getParentHash() == mPreviousLedger->getHash());
|
||||
takeInitialPosition(initial);
|
||||
}
|
||||
else Log(lsINFO) << "CLC:: not closing";
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,6 @@ int ContinuousLedgerTiming::shouldClose(
|
||||
Log(lsTRACE) << "slow to close";
|
||||
return previousSeconds - 1;
|
||||
}
|
||||
Log(lsTRACE) << "normal idle";
|
||||
return LEDGER_IDLE_INTERVAL; // normal idle
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user