Skip to content

Commit

Permalink
chore: update upper bound check
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed Jul 3, 2024
1 parent 3a76ea8 commit fdc5bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noir-projects/aztec-nr/aztec/src/hash.nr
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ pub fn hash_args(args: [Field]) -> Field {
if args.len() == 0 {
0
} else {
assert(args.len() < MAX_ARGS_LENGTH);
assert(args.len() <= MAX_ARGS_LENGTH, "Args length exceeds maximum");
let mut chunks_hashes = [0; ARGS_HASH_CHUNK_COUNT];
let mut current_chunk_values = [0; ARGS_HASH_CHUNK_LENGTH];

Expand Down

0 comments on commit fdc5bde

Please sign in to comment.