mirror of
https://github.com/XRPLF/clio.git
synced 2026-09-28 16:08:11 +00:00
chore: Update libxrpl to 3.2.0 (#3114)
This commit is contained in:
@@ -36,11 +36,11 @@ ValidateArrayAt::verify(boost::json::value& value, std::string_view key) const
|
||||
return {}; // ignore. field does not exist, let 'required' fail instead
|
||||
|
||||
if (not value.as_object().at(key).is_array())
|
||||
return Error{Status{RippledError::rpcINVALID_PARAMS}};
|
||||
return Error{Status{RippledError::RpcInvalidParams}};
|
||||
|
||||
auto& arr = value.as_object().at(key).as_array();
|
||||
if (idx_ >= arr.size())
|
||||
return Error{Status{RippledError::rpcINVALID_PARAMS}};
|
||||
return Error{Status{RippledError::RpcInvalidParams}};
|
||||
|
||||
auto& res = arr.at(idx_);
|
||||
for (auto const& spec : specs_) {
|
||||
|
||||
Reference in New Issue
Block a user