Skip to content

Commit

Permalink
fix: jump early
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Oct 11, 2023
1 parent e87f3be commit 2e1fc2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pg/brc20/brc20-pg-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class Brc20PgStore extends BasePgStoreModule {
`;
if (block.count === 0) break;
await this.insertOperations(block);
if (block.count < limit) break;
offset += limit;
} while (true);
});
Expand Down

0 comments on commit 2e1fc2d

Please sign in to comment.