Change error message to match rippled (#463)

Fixes #263
This commit is contained in:
Francis Mendoza
2023-01-06 09:38:47 -08:00
committed by GitHub
parent 0c2ca1737e
commit 3b1dc60f63

View File

@@ -1597,7 +1597,7 @@ traverseTransactions(
{
if (context.range.maxSequence < *max ||
context.range.minSequence > *max)
return Status{RippledError::rpcLGR_IDX_MALFORMED};
return Status{RippledError::rpcLGR_IDXS_INVALID};
else
maxIndex = static_cast<uint32_t>(*max);
}