Fix PR comments

This commit is contained in:
JCW
2026-04-02 11:33:16 +01:00
parent a2e8e37064
commit 14617931d4

View File

@@ -214,7 +214,13 @@ public:
auto accountId = obj[sfAccount];
// Only set sequence if not using a ticket (ticket sets sequence to 0)
if (!obj.isFieldPresent(sfTicketSequence))
{
builder.setSequence(getAccountRoot(accountId).getSequence());
}
else
{
builder.setSequence(0);
}
builder.setFee(XRPAmount(10));
return submit(builder.build(signer.pk(), signer.sk()).getSTTx());
}