diff --git a/src/test/rpc/Simulate_test.cpp b/src/test/rpc/Simulate_test.cpp index e5e62ce1e2..6e9bc0fef7 100644 --- a/src/test/rpc/Simulate_test.cpp +++ b/src/test/rpc/Simulate_test.cpp @@ -554,7 +554,7 @@ class Simulate_test : public beast::unit_test::suite tx[jss::TransactionType] = jss::AccountSet; tx[sfDomain] = newDomain; tx[sfSponsor.jsonName] = sponsor.human(); - tx[sfFlags.jsonName] = tfSponsorFee; + tx[sfSponsorFlags.jsonName] = tfSponsorFee; tx[sfSponsorSignature.jsonName] = Json::objectValue; // test with autofill