Skip to content

Commit

Permalink
Fix block number variable name when backfilling
Browse files Browse the repository at this point in the history
  • Loading branch information
Ktl-XV committed Jun 9, 2023
1 parent 2669cfc commit e4d88ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/backfill_events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export class EventsBackfillScraper {
.createQueryBuilder('event')
.delete()
.from(EventBackfill)
.where('blockNumber >= :startBlock', { startBlockNumber })
.andWhere('blockNumber <= :endBlock', { endBlockNumber })
.where('blockNumber >= :startBlock', { startBlock: startBlockNumber })
.andWhere('blockNumber <= :endBlock', { endBlock: endBlockNumber })
.execute();
}

Expand Down

0 comments on commit e4d88ed

Please sign in to comment.