mirror of
https://github.com/Xahau/xahaud.git
synced 2025-11-16 16:45:50 +00:00
fix: ledger_index (#498)
This commit is contained in:
@@ -44,8 +44,7 @@ convertBlobsToTxResult(
|
|||||||
|
|
||||||
auto tr = std::make_shared<Transaction>(txn, reason, app);
|
auto tr = std::make_shared<Transaction>(txn, reason, app);
|
||||||
|
|
||||||
auto metaset =
|
auto metaset = std::make_shared<TxMeta>(tr->getID(), ledger_index, rawMeta);
|
||||||
std::make_shared<TxMeta>(tr->getID(), tr->getLedger(), rawMeta);
|
|
||||||
|
|
||||||
// if properly formed meta is available we can use it to generate ctid
|
// if properly formed meta is available we can use it to generate ctid
|
||||||
if (metaset->getAsObject().isFieldPresent(sfTransactionIndex))
|
if (metaset->getAsObject().isFieldPresent(sfTransactionIndex))
|
||||||
|
|||||||
Reference in New Issue
Block a user