From 217ba8dd4dce8740999eed63e687debd0737d69a Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Thu, 24 Apr 2025 16:24:10 +0200 Subject: [PATCH] fix: CTID to use correct ledger_index (#5408) --- src/xrpld/app/misc/detail/AccountTxPaging.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xrpld/app/misc/detail/AccountTxPaging.cpp b/src/xrpld/app/misc/detail/AccountTxPaging.cpp index 243d2d4d53..ff59e4022f 100644 --- a/src/xrpld/app/misc/detail/AccountTxPaging.cpp +++ b/src/xrpld/app/misc/detail/AccountTxPaging.cpp @@ -41,8 +41,7 @@ convertBlobsToTxResult( auto tr = std::make_shared(txn, reason, app); - auto metaset = - std::make_shared(tr->getID(), tr->getLedger(), rawMeta); + auto metaset = std::make_shared(tr->getID(), ledger_index, rawMeta); // if properly formed meta is available we can use it to generate ctid if (metaset->getAsObject().isFieldPresent(sfTransactionIndex))