Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
freigeistig committed Jul 25, 2023
1 parent 3b538c5 commit 414dcda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/indexer.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func (r *indexer) handleUnprocessedEvents(
return nil
}

filters.FromBlock = new(big.Int).SetUint64(r.lastBlock)
filters.FromBlock = new(big.Int).SetUint64(r.lastBlock + 1)
filters.ToBlock = new(big.Int).SetUint64(lastChainBlock + 1)

logs, err := r.ethClient.FilterLogs(ctx, filters)
Expand Down

0 comments on commit 414dcda

Please sign in to comment.