Skip to content

Commit

Permalink
Fix can't end problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Feb 27, 2024
1 parent aecae1a commit 7004a51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private static void readLedger(ClientConfiguration conf, long ledgerId, byte[] p
}
long starttime = System.nanoTime();

while (entriesRead < lastConfirmed) {
while (lastRead < lastConfirmed) {
long nextLimit = lastRead + 100000;
Enumeration<LedgerEntry> entries;
if (batchEntries <= 0) {
Expand Down

0 comments on commit 7004a51

Please sign in to comment.