This commit is contained in:
Valentin Balaschenko
2026-07-09 15:11:50 +01:00
parent 858519e489
commit 55aa11b8e6

View File

@@ -579,8 +579,8 @@ LedgerHistory::clearLedgerCachePrior(LedgerIndex seq)
auto lock = ledgerMaps_.lock();
cacheSize = lock->byHash->size();
indexesCleared = std::erase_if(
lock->byIndex, [seq](auto const& kv) { return kv.first < seq; });
indexesCleared =
std::erase_if(lock->byIndex, [seq](auto const& kv) { return kv.first < seq; });
indexSize = lock->byIndex.size();
XRPL_ASSERT(