From 1c9bcacf3a2c06e45485d9e339d68fd5d287bc3d Mon Sep 17 00:00:00 2001 From: anupsv Date: Fri, 10 Jan 2025 12:06:40 +0530 Subject: [PATCH] Update src/helpers.rs Co-authored-by: Samuel Laferriere --- src/helpers.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/helpers.rs b/src/helpers.rs index 8adb861..78c3f17 100644 --- a/src/helpers.rs +++ b/src/helpers.rs @@ -133,8 +133,6 @@ pub fn to_byte_array(data_fr: &[Fr], max_data_size: usize) -> Vec { // - 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