Skip to content

Commit

Permalink
Remove variable used just for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
spalladino committed Apr 12, 2024
1 parent 4c35bd8 commit f7741d9
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions noir-projects/aztec-nr/aztec/src/context/private_context.nr
Original file line number Diff line number Diff line change
Expand Up @@ -349,13 +349,6 @@ impl PrivateContext {
is_delegate_call
);

let mut note_hash_read_req_count = 0;
for i in 0..MAX_NOTE_HASH_READ_REQUESTS_PER_CALL {
if !is_empty(item.public_inputs.note_hash_read_requests[i]) {
note_hash_read_req_count = note_hash_read_req_count + 1;
}
}

assert_eq(item.public_inputs.call_context.side_effect_counter, self.side_effect_counter);
assert_eq(item.public_inputs.start_side_effect_counter, self.side_effect_counter);
self.side_effect_counter = item.public_inputs.end_side_effect_counter + 1;
Expand Down

0 comments on commit f7741d9

Please sign in to comment.