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