diff --git a/db/db.go b/db/db.go index c67e534..05144fa 100644 --- a/db/db.go +++ b/db/db.go @@ -141,7 +141,7 @@ func (db *pgDB) StoreMissingBatchKeys(ctx context.Context, bks []types.BatchKey) for i, bk := range bks { batchNumbers[i] = fmt.Sprintf("%d", bk.Number) } - return fmt.Errorf("failed to store missing batches (batch number: %s): %w", strings.Join(batchNumbers, ", "), err) + return fmt.Errorf("failed to store missing batches (batch numbers: %s): %w", strings.Join(batchNumbers, ", "), err) } return nil