mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix unit test api_version to enable api_version 2 (#4785)
The command line API still uses `apiMaximumSupportedVersion`. The unit test RPCs use `apiMinimumSupportedVersion` if unspecified. Context: - #4568 - #4552
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include <ripple/protocol/ErrorCodes.h>
|
||||
#include <ripple/rpc/impl/RPCHelpers.h>
|
||||
#include <test/jtx.h>
|
||||
#include <test/jtx/utility.h>
|
||||
|
||||
#include <boost/algorithm/string.hpp>
|
||||
#include <initializer_list>
|
||||
@@ -6442,7 +6443,7 @@ public:
|
||||
Json::Value got;
|
||||
try
|
||||
{
|
||||
got = cmdLineToJSONRPC(args, env.journal);
|
||||
got = jtx::cmdToJSONRPC(args, env.journal);
|
||||
}
|
||||
catch (std::bad_cast const&)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user