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