This commit is contained in:
JoelKatz
2012-07-14 01:53:20 -07:00
parent 90935666bd
commit 4ba8545762

View File

@@ -363,9 +363,9 @@ int LedgerConsensus::statePreClose()
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,
mPreviousSeconds, sinceClose) >= sinceClose)
mPreviousSeconds, sinceClose) <= sinceClose)
{ // it is time to close the ledger (swap default and wobble ledgers)
Log(lsINFO) << "CLC:: closing ledger";
mState = lcsESTABLISH;