Set the accept flag for acquires triggered by the publish logic.

This commit is contained in:
JoelKatz
2013-01-07 09:01:31 -08:00
parent 2b479a66c1
commit ef2f653473

View File

@@ -439,7 +439,10 @@ void LedgerMaster::tryPublish()
{
LedgerAcquire::pointer acq = theApp->getMasterLedgerAcquire().findCreate(hash);
if (!acq->isDone())
{
acq->setAccept();
break;
}
else if (acq->isComplete() && !acq->isFailed())
{
mPubLedger = acq->getLedger();