From 91724750fbd778087b39c1a0cd26d2b176c5fb6b Mon Sep 17 00:00:00 2001 From: Mayukha Vadari Date: Tue, 21 Jul 2026 18:38:48 -0400 Subject: [PATCH] fix build issues --- src/test/rpc/Submit_test.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/test/rpc/Submit_test.cpp b/src/test/rpc/Submit_test.cpp index 97c4a15be5..f48b1f77e9 100644 --- a/src/test/rpc/Submit_test.cpp +++ b/src/test/rpc/Submit_test.cpp @@ -5,15 +5,13 @@ #include #include -#include - -#include #include #include +#include #include #include -#include #include +#include #include namespace xrpl::test { @@ -30,7 +28,9 @@ public: // Enable signing support in config Env env{*this, envconfig([](std::unique_ptr cfg) { - cfg->loadFromString("[" SECTION_SIGNING_SUPPORT "]\ntrue"); + static std::string const signingSupportCfg = + std::string("[") + Sections::kSigningSupport + "]\ntrue"; + cfg->loadFromString(signingSupportCfg); return cfg; })}; @@ -46,7 +46,7 @@ public: jv[jss::tx_json][jss::TransactionType] = jss::Payment; jv[jss::tx_json][jss::Account] = alice.human(); jv[jss::tx_json][jss::Destination] = bob.human(); - jv[jss::tx_json][jss::Amount] = XRP(100).value().getJson(JsonOptions::none); + jv[jss::tx_json][jss::Amount] = XRP(100).value().getJson(); jv[jss::secret] = alice.name(); auto const result = env.rpc("json", "submit", to_string(jv))[jss::result];