mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-06 10:16:45 +00:00
refactor: replace JSON LastLedgerSequence with last_ledger_seq (#5884)
This change replaces instances of JSON LastLedgerSequence with last_ledger_seq, which makes the tests a bit simpler and easier to read. Co-authored-by: Bart Thomee <11445373+bthomee@users.noreply.github.com>
This commit is contained in:
@@ -527,7 +527,7 @@ class LedgerRPC_test : public beast::unit_test::suite
|
||||
// Alice
|
||||
auto aliceSeq = env.seq(alice);
|
||||
env(pay(alice, "george", XRP(1000)),
|
||||
json(R"({"LastLedgerSequence":7})"),
|
||||
last_ledger_seq(7),
|
||||
ter(terQUEUED));
|
||||
env(offer(alice, XRP(50000), alice["USD"](5000)),
|
||||
seq(aliceSeq + 1),
|
||||
|
||||
Reference in New Issue
Block a user