mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Misc fixes.
This commit is contained in:
@@ -1504,9 +1504,10 @@ Json::Value RPCServer::doAccountTransactions(const Json::Value& params)
|
||||
else
|
||||
maxLedger = minLedger;
|
||||
|
||||
if ((maxLedger < minLedger) || (minLedger < 0) || (maxLedger == 0))
|
||||
if ((maxLedger < minLedger) || (maxLedger == 0))
|
||||
{
|
||||
std::cerr << "minL=" << minLedger << ", maxL=" << maxLedger << std::endl;
|
||||
|
||||
return RPCError(rpcLGR_IDXS_INVALID);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user