mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Some asserts to help track down a bug (that seems impossible) that Jed reported.
This commit is contained in:
@@ -42,6 +42,8 @@ void LedgerMaster::pushLedger(Ledger::pointer newLCL, Ledger::pointer newOL)
|
||||
|
||||
if (newLCL->isAccepted())
|
||||
{
|
||||
assert(newLCL->isClosed());
|
||||
assert(newLCL->isImmutable());
|
||||
mLedgerHistory.addAcceptedLedger(newLCL);
|
||||
Log(lsINFO) << "StashAccepted: " << newLCL->getHash().GetHex();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user