ensure pinned ledger range is updated as catalogue_load progresses

This commit is contained in:
Richard Holland
2025-03-25 14:55:37 +11:00
parent af3d6bb421
commit 06a9ce4f33

View File

@@ -1076,6 +1076,9 @@ doCatalogueLoad(RPC::JsonContext& context)
context.app.getLedgerMaster().switchLCL(ledger);
}
context.app.getLedgerMaster().setLedgerRangePresent(
header.min_ledger, info.seq, true);
// Store the ledger
prevLedger = ledger;
ledgersLoaded++;