Many states make a distinction between jury duty and being a witness in court when it comes to pay for the day. This is not an unlawful distinction.