Skip to content

Commit

Permalink
Fix old signatures on fill feed restart
Browse files Browse the repository at this point in the history
  • Loading branch information
brittcyr committed Nov 13, 2024
1 parent e7b6172 commit 90167eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ts/src/fillFeed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class FillFeed {
public async parseLogs(endEarly?: boolean) {
// Start with a hopefully recent signature.
let lastSignature: string | undefined = (
await this.connection.getSignaturesForAddress(PROGRAM_ID)
await this.connection.getSignaturesForAddress(PROGRAM_ID, { limit: 1 })
)[0].signature;

// End early is 30 seconds, used for testing.
Expand Down

0 comments on commit 90167eb

Please sign in to comment.