From eef47da06175110e0a5ea7deb35c5ac6779b89c7 Mon Sep 17 00:00:00 2001 From: Denis Angell Date: Thu, 24 Apr 2025 01:42:08 +0200 Subject: [PATCH] fix: ledger_index --- src/ripple/app/misc/impl/AccountTxPaging.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ripple/app/misc/impl/AccountTxPaging.cpp b/src/ripple/app/misc/impl/AccountTxPaging.cpp index f06c439f4..1babbc7ce 100644 --- a/src/ripple/app/misc/impl/AccountTxPaging.cpp +++ b/src/ripple/app/misc/impl/AccountTxPaging.cpp @@ -44,8 +44,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))