diff --git a/src/rpc/RPCHelpers.cpp b/src/rpc/RPCHelpers.cpp index 30d2955c..4920f384 100644 --- a/src/rpc/RPCHelpers.cpp +++ b/src/rpc/RPCHelpers.cpp @@ -1597,9 +1597,7 @@ traverseTransactions( { if (context.range.maxSequence < *max || context.range.minSequence > *max) - return Status{ - RippledError::rpcLGR_IDX_MALFORMED, - "ledgerSeqMaxOutOfRange"}; + return Status{RippledError::rpcLGR_IDX_MALFORMED}; else maxIndex = static_cast(*max); }