fix recursion issue with fetchLedgerPage

This commit is contained in:
CJ Cobb
2021-10-05 18:30:11 -04:00
parent e67ea1afb6
commit 2cb74ae706
7 changed files with 37 additions and 15 deletions

View File

@@ -586,7 +586,7 @@ CassandraBackend::doFetchLedgerPage(
}
}
if (!cursor && (!keys.size() || !keys[0].isZero()))
if (!cursorIn && (!keys.size() || !keys[0].isZero()))
{
page.warning = "Data may be incomplete";
}