xrpld
Loading...
Searching...
No Matches
account_txn_id.cpp
1#include <test/jtx/account_txn_id.h>
2
3#include <test/jtx/Env.h>
4#include <test/jtx/JTx.h>
5
6#include <xrpl/basics/strHex.h>
7
8namespace xrpl::test::jtx {
9
10void
12{
13 if (!hash_.isZero())
14 jt["AccountTxnID"] = strHex(hash_);
15}
16
17} // namespace xrpl::test::jtx
A transaction testing environment.
Definition Env.h:143
std::string strHex(FwdIt begin, FwdIt end)
Definition strHex.h:10
void operator()(Env &, JTx &jt) const
Execution context for applying a JSON transaction.
Definition JTx.h:23