mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-18 18:55:51 +00:00
@@ -47,7 +47,7 @@ NFTHistoryHandler::process(NFTHistoryHandler::Input input, Context const& ctx) c
|
||||
}
|
||||
|
||||
if (minIndex > maxIndex)
|
||||
return Error{Status{RippledError::rpcINVALID_PARAMS, "invalidIndex"}};
|
||||
return Error{Status{RippledError::rpcLGR_IDXS_INVALID}};
|
||||
|
||||
if (input.ledgerHash || input.ledgerIndex)
|
||||
{
|
||||
|
||||
@@ -181,8 +181,8 @@ generateTestValuesForParametersTest()
|
||||
"ledger_index_max": 11,
|
||||
"ledger_index_min": 20
|
||||
})",
|
||||
"invalidParams",
|
||||
"invalidIndex"},
|
||||
"lgrIdxsInvalid",
|
||||
"Ledger indexes invalid."},
|
||||
NFTHistoryParamTestCaseBundle{
|
||||
"LedgerIndexMaxMinAndLedgerIndex",
|
||||
R"({
|
||||
|
||||
Reference in New Issue
Block a user