refactor: Fix sfGeneric and sfInvalid field names (#7300)

This commit is contained in:
Mayukha Vadari
2026-05-20 15:47:59 -04:00
committed by GitHub
parent a5d238e7d4
commit 242ce3e9e4
21 changed files with 68 additions and 68 deletions

View File

@@ -1390,7 +1390,7 @@ public:
// Lambda that returns a Payment STObject.
auto getPayment = [kp1, id1, id2]() {
// Account id1 pays account id2 10,000 XRP.
STObject payment(kSfGeneric);
STObject payment(sfGeneric);
payment.setFieldU16(sfTransactionType, ttPAYMENT);
payment.setAccountID(sfAccount, id1);
payment.setAccountID(sfDestination, id2);