If we acquired a ledger for consensus purposes, we still need to track it for

accept/acquire purposes.
This commit is contained in:
JoelKatz
2012-10-28 19:13:42 -07:00
parent 7115a145d9
commit 557f630d47

View File

@@ -100,6 +100,9 @@ void LedgerMaster::acquireMissingLedger(const uint256& ledgerHash, uint32 ledger
mMissingLedger = theApp->getMasterLedgerAcquire().findCreate(ledgerHash);
if (mMissingLedger->isComplete())
{
Ledger::pointer lgr = mMissingLedger->getLedger();
if (lgr && (lgr->getLedgerSeq() == ledgerSeq))
missingAcquireComplete(mMissingLedger);
mMissingLedger = LedgerAcquire::pointer();
return;
}