mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 07:10:53 +00:00
18 lines
310 B
C++
18 lines
310 B
C++
#include <test/jtx/account_txn_id.h>
|
|
|
|
#include <test/jtx/Env.h>
|
|
#include <test/jtx/JTx.h>
|
|
|
|
#include <xrpl/basics/strHex.h>
|
|
|
|
namespace xrpl::test::jtx {
|
|
|
|
void
|
|
AccountTxnId::operator()(Env&, JTx& jt) const
|
|
{
|
|
if (!hash_.isZero())
|
|
jt["AccountTxnID"] = strHex(hash_);
|
|
}
|
|
|
|
} // namespace xrpl::test::jtx
|