fixup for compat with 193

This commit is contained in:
Richard Holland
2022-08-29 11:12:08 +00:00
parent 0e0355cf36
commit 267ad3703e
3 changed files with 3 additions and 3 deletions

View File

@@ -74,7 +74,7 @@ namespace detail {
// Feature.cpp. Because it's only used to reserve storage, and determine how // Feature.cpp. Because it's only used to reserve storage, and determine how
// large to make the FeatureBitset, it MAY be larger. It MUST NOT be less than // large to make the FeatureBitset, it MAY be larger. It MUST NOT be less than
// the actual number of amendments. A LogicError on startup will verify this. // the actual number of amendments. A LogicError on startup will verify this.
static constexpr std::size_t numFeatures = 52; static constexpr std::size_t numFeatures = 53;
/** Amendments that this server supports and the default voting behavior. /** Amendments that this server supports and the default voting behavior.
Whether they are enabled depends on the Rules defined in the validated Whether they are enabled depends on the Rules defined in the validated

View File

@@ -126,7 +126,7 @@ doAccountNamespace(RPC::JsonContext& context)
result[jss::account_objects] = Json::arrayValue; result[jss::account_objects] = Json::arrayValue;
} }
result[jss::account] = context.app.accountIDCache().toBase58(accountID); result[jss::account] = toBase58(accountID);
result[jss::namespace_id] = ns; result[jss::namespace_id] = ns;
context.loadType = Resource::feeMediumBurdenRPC; context.loadType = Resource::feeMediumBurdenRPC;
return result; return result;

View File

@@ -21,6 +21,7 @@
#include <ripple/app/main/Application.h> #include <ripple/app/main/Application.h>
#include <ripple/app/misc/TxQ.h> #include <ripple/app/misc/TxQ.h>
#include <ripple/basics/mulDiv.h> #include <ripple/basics/mulDiv.h>
#include <ripple/basics/StringUtilities.h>
#include <ripple/protocol/ErrorCodes.h> #include <ripple/protocol/ErrorCodes.h>
#include <ripple/protocol/Feature.h> #include <ripple/protocol/Feature.h>
#include <ripple/rpc/Context.h> #include <ripple/rpc/Context.h>
@@ -28,7 +29,6 @@
#include <ripple/app/hook/applyHook.h> #include <ripple/app/hook/applyHook.h>
#include <ripple/app/tx/impl/Transactor.h> #include <ripple/app/tx/impl/Transactor.h>
#include <ripple/basics/FeeUnits.h> #include <ripple/basics/FeeUnits.h>
namespace ripple { namespace ripple {