fix renaming

This commit is contained in:
Valentin Balaschenko
2026-02-03 18:33:28 +00:00
parent 7f9d823b7b
commit ee8cb0fd10
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ LedgerHistory::getLedgerBySeq(LedgerIndex index)
{
// Add this ledger to the local tracking by index
XRPL_ASSERT(ret->isImmutable(), "ripple::LedgerHistory::getLedgerBySeq : immutable result ledger");
XRPL_ASSERT(ret->isImmutable(), "xrpl::LedgerHistory::getLedgerBySeq : immutable result ledger");
m_ledgers_by_hash.canonicalize_replace_client(ret->info().hash, ret);
mLedgersByIndex[ret->info().seq] = ret->info().hash;
return (ret->info().seq == index) ? ret : nullptr;

View File

@@ -124,7 +124,7 @@ private:
ConsensusValidated m_consensus_validated;
// Maps ledger indexes to the corresponding hash.
ripple::LedgerIndexMap<LedgerIndex, LedgerHash> mLedgersByIndex; // validated ledgers
xrpl::LedgerIndexMap<LedgerIndex, LedgerHash> mLedgersByIndex; // validated ledgers
beast::Journal j_;
};