Skip to content

Commit

Permalink
Update src/helpers.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Samuel Laferriere <[email protected]>
  • Loading branch information
anupsv and samlaf authored Jan 10, 2025
1 parent bfd2fac commit 1c9bcac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ pub fn to_byte_array(data_fr: &[Fr], max_data_size: usize) -> Vec<u8> {
// - Maximum allowed size
let data_size = cmp::min(n * BYTES_PER_FIELD_ELEMENT, max_data_size);

// Initialize output buffer with zeros
// Size is determined by data_size calculation above
let mut data = vec![0u8; data_size];

// Iterate through each field element
Expand Down

0 comments on commit 1c9bcac

Please sign in to comment.