mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-22 23:00:55 +00:00
25 lines
334 B
C++
25 lines
334 B
C++
#pragma once
|
|
|
|
#include <test/jtx/Env.h>
|
|
#include <test/jtx/JTx.h>
|
|
|
|
#include <cstdint>
|
|
|
|
namespace xrpl::test::jtx {
|
|
|
|
struct LastLedgerSeq
|
|
{
|
|
private:
|
|
std::uint32_t num_;
|
|
|
|
public:
|
|
explicit LastLedgerSeq(std::uint32_t num) : num_(num)
|
|
{
|
|
}
|
|
|
|
void
|
|
operator()(Env&, JTx& jt) const;
|
|
};
|
|
|
|
} // namespace xrpl::test::jtx
|