From 1e1408054b3eece2d92033ab92f71b7b280d578c Mon Sep 17 00:00:00 2001 From: OlivierDehaene <23298448+OlivierDehaene@users.noreply.github.com> Date: Thu, 14 Dec 2023 15:02:22 +0100 Subject: [PATCH] fix validation --- router/src/validation.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/router/src/validation.rs b/router/src/validation.rs index 8a732bf8376..1b47fc9749c 100644 --- a/router/src/validation.rs +++ b/router/src/validation.rs @@ -229,15 +229,6 @@ impl Validation { stop_sequences.len(), )); } - for s in stop_sequences { - if s.chars().len() > 50 { - return Err(ValidationError::StopSequence( - self.max_stop_sequences, - stop_sequences.len(), - )); - - } - } // If seed is None, assign a random one let seed = match seed {