mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
Improve ledger performance by making sure we properly track the new LCL.
This commit is contained in:
@@ -1268,6 +1268,7 @@ void LedgerConsensus::accept (SHAMap::ref set, LoadEvent::pointer)
|
||||
newLCL->setAccepted (closeTime, mCloseResolution, closeTimeCorrect);
|
||||
newLCL->updateHash ();
|
||||
newLCL->setImmutable ();
|
||||
getApp().getLedgerMaster().storeLedger(newLCL);
|
||||
|
||||
WriteLog (lsDEBUG, LedgerConsensus) << "Report: NewL = " << newLCL->getHash () << ":" << newLCL->getLedgerSeq ();
|
||||
uint256 newLCLHash = newLCL->getHash ();
|
||||
|
||||
Reference in New Issue
Block a user