rippled
Loading...
Searching...
No Matches
sendmax.cpp
1#include <test/jtx/sendmax.h>
2
3#include <xrpl/protocol/jss.h>
4
5namespace ripple {
6namespace test {
7namespace jtx {
8
9void
10sendmax::operator()(Env& env, JTx& jt) const
11{
12 jt.jv[jss::SendMax] = amount_.getJson(JsonOptions::none);
13}
14
15} // namespace jtx
16} // namespace test
17} // namespace ripple
Json::Value getJson(JsonOptions=JsonOptions::none) const override
Definition STAmount.cpp:753
A transaction testing environment.
Definition Env.h:102
void operator()(Env &, JTx &jtx) const
Definition sendmax.cpp:10
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
Execution context for applying a JSON transaction.
Definition JTx.h:26
Json::Value jv
Definition JTx.h:27