mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Make sure we clean up on a failed acquire.
This commit is contained in:
@@ -193,7 +193,7 @@ void LedgerMaster::setFullLedger(Ledger::ref ledger)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mMissingLedger && mMissingLedger->isComplete())
|
if (mMissingLedger && (mMissingLedger->isComplete() || mMissingLedger->isFailed()))
|
||||||
mMissingLedger.reset();
|
mMissingLedger.reset();
|
||||||
|
|
||||||
if (mMissingLedger || !theConfig.LEDGER_HISTORY)
|
if (mMissingLedger || !theConfig.LEDGER_HISTORY)
|
||||||
|
|||||||
Reference in New Issue
Block a user