mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
@@ -47,7 +47,7 @@ AccountTxHandler::process(AccountTxHandler::Input input, Context const& ctx) con
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (minIndex > maxIndex)
|
if (minIndex > maxIndex)
|
||||||
return Error{Status{RippledError::rpcLGR_IDXS_INVALID}};
|
return Error{Status{RippledError::rpcINVALID_LGR_RANGE}};
|
||||||
|
|
||||||
if (input.ledgerHash || input.ledgerIndex || input.usingValidatedLedger)
|
if (input.ledgerHash || input.ledgerIndex || input.usingValidatedLedger)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -179,8 +179,8 @@ generateTestValuesForParametersTest()
|
|||||||
"ledger_index_max": 11,
|
"ledger_index_max": 11,
|
||||||
"ledger_index_min": 20
|
"ledger_index_min": 20
|
||||||
})",
|
})",
|
||||||
"lgrIdxsInvalid",
|
"invalidLgrRange",
|
||||||
"Ledger indexes invalid."},
|
"Ledger range is invalid."},
|
||||||
AccountTxParamTestCaseBundle{
|
AccountTxParamTestCaseBundle{
|
||||||
"LedgerIndexMaxMinAndLedgerIndex",
|
"LedgerIndexMaxMinAndLedgerIndex",
|
||||||
R"({
|
R"({
|
||||||
|
|||||||
Reference in New Issue
Block a user