rippled
Loading...
Searching...
No Matches
invoice_id.cpp
1#include <test/jtx/invoice_id.h>
2
3namespace ripple {
4namespace test {
5namespace jtx {
6
7void
9{
10 if (!hash_.isZero())
11 jt["InvoiceID"] = strHex(hash_);
12}
13
14} // namespace jtx
15} // namespace test
16} // namespace ripple
bool isZero() const
Definition base_uint.h:521
A transaction testing environment.
Definition Env.h:102
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
std::string strHex(FwdIt begin, FwdIt end)
Definition strHex.h:11
Execution context for applying a JSON transaction.
Definition JTx.h:26
void operator()(Env &, JTx &jt) const
Definition invoice_id.cpp:8