mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 07:10:53 +00:00
refactor: Use SeqProxy instead of uint32 for all sequence-based keylets (#7890)
Co-authored-by: xrplf-ai-reviewer[bot] <266832837+xrplf-ai-reviewer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <xrpl/protocol/SField.h>
|
||||
#include <xrpl/protocol/STAmount.h>
|
||||
#include <xrpl/protocol/STPathSet.h>
|
||||
#include <xrpl/protocol/SeqProxy.h>
|
||||
#include <xrpl/protocol/TER.h>
|
||||
#include <xrpl/protocol/TxFlags.h>
|
||||
#include <xrpl/protocol/UintTypes.h>
|
||||
@@ -547,7 +548,7 @@ struct Flow_test : public beast::unit_test::Suite
|
||||
env(pay(gw, alice, usd(1000)));
|
||||
env(pay(gw, bob, eur(1000)));
|
||||
|
||||
Keylet const bobUsdOffer = keylet::offer(bob, env.seq(bob));
|
||||
Keylet const bobUsdOffer = keylet::offer(bob, SeqProxy::rawSequence(env.seq(bob)));
|
||||
env(offer(bob, usd(1), drops(2)), Txflags(tfPassive));
|
||||
env(offer(bob, drops(1), eur(1000)), Txflags(tfPassive));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user