Update src/xrpld/rpc/detail/RPCCall.cpp

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mayukha Vadari
2025-12-23 11:52:07 -08:00
committed by GitHub
parent 2b61b2257b
commit d78bc9e780

View File

@@ -392,7 +392,7 @@ private:
{
if (auto const limit = jvParseInt(jvParams[4u]))
{
if (limit > 0)
if (limit >= 0)
jvRequest[jss::limit] = *limit;
}
else