diff --git a/lib/payment-subscription/payment-multi-validator/utils.ak b/lib/payment-subscription/payment-multi-validator/utils.ak index bc84d76..59fccb1 100644 --- a/lib/payment-subscription/payment-multi-validator/utils.ak +++ b/lib/payment-subscription/payment-multi-validator/utils.ak @@ -81,7 +81,7 @@ pub fn validate_extension_datum( new_datum.subscription_fee == service_datum.service_fee && new_datum.interval_length == service_datum.interval_length && new_datum.minimum_ada >= service_datum.minimum_ada let sane_values = - new_datum.subscription_start >= 0 && new_datum.subscription_end > new_datum.subscription_start && new_datum.interval_length > 0 && new_datum.interval_amount > 0 && new_datum.num_intervals > 0 && new_datum.minimum_ada > 0 + new_datum.subscription_start >= 0 && new_datum.subscription_end > new_datum.subscription_start && new_datum.interval_length > 0 && new_datum.interval_amount > 0 && new_datum.num_intervals > 0 && new_datum.minimum_ada >= 0 // Ensure that the subscription start is at least negative interval_length let valid_start_time =