mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Set the accept flag for acquires triggered by the publish logic.
This commit is contained in:
@@ -439,7 +439,10 @@ void LedgerMaster::tryPublish()
|
|||||||
{
|
{
|
||||||
LedgerAcquire::pointer acq = theApp->getMasterLedgerAcquire().findCreate(hash);
|
LedgerAcquire::pointer acq = theApp->getMasterLedgerAcquire().findCreate(hash);
|
||||||
if (!acq->isDone())
|
if (!acq->isDone())
|
||||||
|
{
|
||||||
|
acq->setAccept();
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
else if (acq->isComplete() && !acq->isFailed())
|
else if (acq->isComplete() && !acq->isFailed())
|
||||||
{
|
{
|
||||||
mPubLedger = acq->getLedger();
|
mPubLedger = acq->getLedger();
|
||||||
|
|||||||
Reference in New Issue
Block a user