Trigger the history acquire code under the correct conditions.

Advance the "last full ledger" tracking correctly.
This commit is contained in:
JoelKatz
2012-10-24 11:17:00 -07:00
parent f6386ab2b5
commit 853136b2a5
5 changed files with 37 additions and 12 deletions

View File

@@ -647,6 +647,7 @@ void LedgerAcquireSet::onComplete(boost::weak_ptr<LedgerAcquireSet> set, LedgerA
{
Ledger::pointer ledger = acquired->getLedger();
ledger->setAccepted();
theApp->getMasterLedger().checkLedgerGap(ledger);
lSet->updateCurrentLedger(ledger);
}
else