mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 06:40:53 +00:00
21 lines
327 B
C++
21 lines
327 B
C++
#include <test/jtx/seq.h>
|
|
|
|
#include <test/jtx/Env.h>
|
|
#include <test/jtx/JTx.h>
|
|
|
|
#include <xrpl/protocol/jss.h>
|
|
|
|
namespace xrpl::test::jtx {
|
|
|
|
void
|
|
Seq::operator()(Env&, JTx& jt) const
|
|
{
|
|
if (!manual_)
|
|
return;
|
|
jt.fillSeq = false;
|
|
if (num_)
|
|
jt[jss::Sequence] = *num_;
|
|
}
|
|
|
|
} // namespace xrpl::test::jtx
|