Skip to content

Commit

Permalink
nuking sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Oct 25, 2024
1 parent 3b6253e commit 6b42b41
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions noir-projects/aztec-nr/aztec/src/macros/notes/mod.nr
Original file line number Diff line number Diff line change
Expand Up @@ -719,9 +719,6 @@ comptime fn generate_finalization_payload(
// We convert the log from fields to bytes
let setup_log: [u8; $setup_log_byte_length] = aztec::utils::bytes::fields_to_bytes(setup_log_fields);

// First byte should be zero as the number of public values is populated in public
assert(setup_log[0] == 0, "Non-zero first byte");

// We append the public value to the log and emit it as unencrypted log
let mut finalization_log = [0; $finalization_log_byte_length];

Expand Down

0 comments on commit 6b42b41

Please sign in to comment.