mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Buglet.
This commit is contained in:
@@ -363,9 +363,9 @@ int LedgerConsensus::statePreClose()
|
|||||||
|
|
||||||
int sinceClose = theApp->getOPs().getNetworkTimeNC() - mPreviousLedger->getCloseTimeNC();
|
int sinceClose = theApp->getOPs().getNetworkTimeNC() - mPreviousLedger->getCloseTimeNC();
|
||||||
|
|
||||||
Log(lsINFO) << "CLC:: pre close";
|
Log(lsINFO) << "CLC:: pre close: sinceClose=" << sinceClose;
|
||||||
if (ContinuousLedgerTiming::shouldClose(anyTransactions, mPreviousProposers, proposersClosed,
|
if (ContinuousLedgerTiming::shouldClose(anyTransactions, mPreviousProposers, proposersClosed,
|
||||||
mPreviousSeconds, sinceClose) >= sinceClose)
|
mPreviousSeconds, sinceClose) <= sinceClose)
|
||||||
{ // it is time to close the ledger (swap default and wobble ledgers)
|
{ // it is time to close the ledger (swap default and wobble ledgers)
|
||||||
Log(lsINFO) << "CLC:: closing ledger";
|
Log(lsINFO) << "CLC:: closing ledger";
|
||||||
mState = lcsESTABLISH;
|
mState = lcsESTABLISH;
|
||||||
|
|||||||
Reference in New Issue
Block a user