Skip to content

Commit

Permalink
missed a spot
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Erwin committed Oct 1, 2024
1 parent 2b72dab commit b335da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/internal/ingestor/ingestor.go
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ func (i *Ingestor) fetchTransactions(ctx context.Context, fromBlock, toBlock int
return transactions, nil
}

unc (i *Ingestor) updateLastProcessedBlock(ctx context.Context, blockNumber int64) error {
func (i *Ingestor) updateLastProcessedBlock(ctx context.Context, blockNumber int64) error {
if err := i.queries.UpdateLastProcessedBlock(ctx, blockNumber); err != nil {
i.logger.Error("Failed to update last processed block", zap.Error(err), zap.Int64("block", blockNumber))
return fmt.Errorf("failed to update last processed block: %w", err)
Expand Down

0 comments on commit b335da7

Please sign in to comment.