Beging removing the "wobble" logic, as CLC doesn't use it.

This commit is contained in:
JoelKatz
2012-07-16 12:02:09 -07:00
parent f9e0a6ae72
commit 19b4ea8160
3 changed files with 4 additions and 18 deletions

View File

@@ -375,12 +375,10 @@ int LedgerConsensus::statePreClose()
Log(lsINFO) << "CLC:: closing ledger";
mState = lcsESTABLISH;
mConsensusStartTime = boost::posix_time::second_clock::universal_time();
theApp->getMasterLedger().beginWobble();
theApp->getMasterLedger().closeTime();
mCloseTime = theApp->getOPs().getNetworkTimeNC();
theApp->getOPs().setLastCloseNetTime(mCloseTime);
statusChange(newcoin::neCLOSING_LEDGER, mPreviousLedger);
Ledger::pointer initial = theApp->getMasterLedger().endWobble();
Ledger::pointer initial = theApp->getMasterLedger().closeLedger();
assert (initial->getParentHash() == mPreviousLedger->getHash());
takeInitialPosition(initial);
}