Skip to content

Commit

Permalink
Update Transaction.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dangell7 committed Feb 1, 2024
1 parent b90428a commit 65568cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ripple/app/misc/impl/Transaction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ Transaction::getJson(JsonOptions options, bool binary) const
if (mTxnSeq && netID)
{
std::optional<std::string> const ctid =
RPC::encodeCTID(mInLedger, *mTxnSeq, *netID);
RPC::encodeCTID(mLedgerIndex, *mTxnSeq, *netID);
if (ctid)
ret[jss::ctid] = *ctid;
}
Expand Down

0 comments on commit 65568cf

Please sign in to comment.