diff --git a/src/rpc/RPCHelpers.cpp b/src/rpc/RPCHelpers.cpp index 4920f3845..bc56443fd 100644 --- a/src/rpc/RPCHelpers.cpp +++ b/src/rpc/RPCHelpers.cpp @@ -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(*max); }