book offers seems to work

This commit is contained in:
CJ Cobb
2021-06-04 05:53:38 +00:00
parent 19b52787c4
commit 5f6edee312
5 changed files with 83 additions and 24 deletions

View File

@@ -351,7 +351,7 @@ PostgresBackend::doFetchLedgerPage(
{
keys.push_back({res.asUInt256(i, 0)});
}
if (numRows == limit)
if (numRows >= limit)
{
returnCursor = keys.back();
++(*returnCursor);