Under a certain rare combination of circumstances a ledger may not get added

to our chain of fully-validated ledgers. Essentially, if we have the ledger
for some other reason, we won't "acquire" it, so behavior triggered only by
acquiring the ledger will not happen. This issue would be persistent.
This commit is contained in:
JoelKatz
2013-03-05 10:17:17 -08:00
parent 8d7a2cd8d7
commit 50b97386cd

View File

@@ -274,8 +274,9 @@ void LedgerMaster::missingAcquireComplete(LedgerAcquire::pointer acq)
if (acq->isComplete())
{
acq->getLedger()->setAccepted();
setFullLedger(acq->getLedger());
acq->getLedger()->pendSave(false);
mLedgerHistory.addAcceptedLedger(acq->getLedger(), false);
}
}