change sfSponsor to STAccount, Sponsor flags as global flags

This commit is contained in:
tequ
2026-01-27 12:38:01 +09:00
parent ce8049a17f
commit 88e870b1c6
9 changed files with 47 additions and 61 deletions

View File

@@ -651,8 +651,8 @@ class Simulate_test : public beast::unit_test::suite
tx[jss::Account] = env.master.human();
tx[jss::TransactionType] = jss::AccountSet;
tx[sfDomain] = newDomain;
tx[sfSponsor.jsonName][sfAccount.jsonName] = sponsor.human();
tx[sfSponsor.jsonName][sfFlags.jsonName] = tfSponsorFee;
tx[sfSponsor.jsonName] = sponsor.human();
tx[sfFlags.jsonName] = tfSponsorFee;
tx[sfSponsorSignature.jsonName] = Json::objectValue;
// test with autofill