xrpld
Toggle main menu visibility
Loading...
Searching...
No Matches
test
jtx
impl
seq.cpp
1
#include <test/jtx/seq.h>
2
3
#include <test/jtx/Env.h>
4
#include <test/jtx/JTx.h>
5
6
#include <xrpl/protocol/jss.h>
7
8
namespace
xrpl::test::jtx
{
9
10
void
11
Seq::operator()
(
Env
&,
JTx
& jt)
const
12
{
13
if
(!
manual_
)
14
return
;
15
jt.
fillSeq
=
false
;
16
if
(
num_
)
17
jt[jss::Sequence] = *
num_
;
18
}
19
20
}
// namespace xrpl::test::jtx
xrpl::test::jtx::Env
A transaction testing environment.
Definition
Env.h:161
xrpl::test::jtx
Definition
Oracle_test.cpp:34
xrpl::test::jtx::JTx
Execution context for applying a JSON transaction.
Definition
JTx.h:27
xrpl::test::jtx::JTx::fillSeq
bool fillSeq
Definition
JTx.h:34
xrpl::test::jtx::Seq::num_
std::optional< std::uint32_t > num_
Definition
seq.h:19
xrpl::test::jtx::Seq::manual_
bool manual_
Definition
seq.h:18
xrpl::test::jtx::Seq::operator()
void operator()(Env &, JTx &jt) const
Definition
seq.cpp:11
Generated by
1.17.0