Skip to content

Commit

Permalink
fix event poller
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Aug 29, 2024
1 parent 6e9c168 commit e9b9cd5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/events/eventsPoller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ export class EventPoller extends EventEmitter {
try {
if (this.lastSlot) {
this.eventsFilter.start = nextSlot(this.lastSlot)
} else {
this.lastSlot = this.eventsFilter.start || nextSlot(this.lastSlot)
}

const events = await this.provider.getEvents(this.eventsFilter)
Expand Down

0 comments on commit e9b9cd5

Please sign in to comment.