mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +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);
|
||||
if (!acq->isDone())
|
||||
{
|
||||
acq->setAccept();
|
||||
break;
|
||||
}
|
||||
else if (acq->isComplete() && !acq->isFailed())
|
||||
{
|
||||
mPubLedger = acq->getLedger();
|
||||
|
||||
Reference in New Issue
Block a user