Skip to content

Commit

Permalink
[Aleo ins parser] Fix array type anomaly.
Browse files Browse the repository at this point in the history
  • Loading branch information
acoglio committed Sep 26, 2023
1 parent 326e9d5 commit e1e85f6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions console/program/src/data_types/array_type/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ impl<N: Network> Parser for ArrayType<N> {
Ok((string, length))
}

// Parse the whitespace and comments from the string.
let (string, _) = Sanitizer::parse(string)?;
// Parse the opening brackets and validate the number of dimensions.
let (string, dimensions) = map_res(many0_count(pair(tag("["), Sanitizer::parse_whitespaces)), |dimensions| {
if dimensions.is_zero() {
Expand Down

0 comments on commit e1e85f6

Please sign in to comment.