Skip to content

Commit

Permalink
reverting incorrect change
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Jul 2, 2024
1 parent ad66fcd commit 7c8bded
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,9 +179,9 @@ mod tests {

unconstrained fn compute_hash_bytes(
siloed_encrypted_logs_hash: Field,
siloed_encrypted_logs_hash: Field
new_siloed_encrypted_logs_hash: Field
) -> [u8; MAX_ENCRYPTED_LOGS_PER_TX * 32] {
siloed_encrypted_logs_hash.to_be_bytes(32).append(siloed_encrypted_logs_hash.to_be_bytes(32)).append(&[0; MAX_ENCRYPTED_LOGS_PER_TX * 32 - 64]).as_array()
siloed_encrypted_logs_hash.to_be_bytes(32).append(new_siloed_encrypted_logs_hash.to_be_bytes(32)).append(&[0; MAX_ENCRYPTED_LOGS_PER_TX * 32 - 64]).as_array()
}

#[test]
Expand Down

0 comments on commit 7c8bded

Please sign in to comment.