mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 23:15:52 +00:00
Fix one case where we stop acquiring historical ledgers after a failure.
This commit is contained in:
@@ -290,7 +290,11 @@ void LedgerMaster::setFullLedger(Ledger::ref ledger)
|
||||
}
|
||||
|
||||
if (mMissingLedger && mMissingLedger->isDone())
|
||||
{
|
||||
if (mMissingLedger->isFailed())
|
||||
theApp->getMasterLedgerAcquire().dropLedger(mMissingLedger->getHash());
|
||||
mMissingLedger.reset();
|
||||
}
|
||||
|
||||
if (mMissingLedger || !theConfig.LEDGER_HISTORY)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user