This commit is contained in:
jed
2012-06-29 05:29:59 -07:00
parent 5ed0197a42
commit bc9dca6548

View File

@@ -1402,7 +1402,7 @@ Json::Value RPCServer::doAccountTransactions(const Json::Value& params)
else
maxLedger = minLedger;
if ((maxLedger < minLedger) || (minLedger == 0) || (maxLedger == 0))
if ((maxLedger < minLedger) || (minLedger < 0) || (maxLedger == 0))
{
std::cerr << "minL=" << minLedger << ", maxL=" << maxLedger << std::endl;
return RPCError(rpcLGR_IDXS_INVALID);