From 727bd6b52654a9b178091329b244b52245bbe567 Mon Sep 17 00:00:00 2001 From: curiecrypt <36852463+curiecrypt@users.noreply.github.com> Date: Thu, 19 Dec 2024 21:01:07 +0300 Subject: [PATCH] Get back to data length 32 (#115) ## Content This PR includes... ## Pre-submit checklist - Branch - [ ] Tests are provided (if possible) - [ ] Commit sequence broadly makes sense - [ ] Key commits have useful messages - PR - [ ] No clippy warnings in the CI - [ ] Self-reviewed the diff - [ ] Useful pull request description - [ ] Reviewer requested - Documentation - [ ] Update README file (if relevant) - [ ] Update documentation website (if relevant) ## Comments ## Issue(s) Relates to #YYY or Closes #YYY --- src/utils/types.rs | 2 +- tests/centralized_telescope.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/types.rs b/src/utils/types.rs index 9ff80a8d..f99ff5cd 100644 --- a/src/utils/types.rs +++ b/src/utils/types.rs @@ -1,3 +1,3 @@ -pub(crate) const DATA_LENGTH: usize = 48; +pub(crate) const DATA_LENGTH: usize = 32; pub(crate) type Element = [u8; DATA_LENGTH]; diff --git a/tests/centralized_telescope.rs b/tests/centralized_telescope.rs index 979bafdb..330b102e 100644 --- a/tests/centralized_telescope.rs +++ b/tests/centralized_telescope.rs @@ -10,7 +10,7 @@ use rand_chacha::ChaCha20Rng; use rand_core::{RngCore, SeedableRng}; use utils::gen_items; -const DATA_LENGTH: usize = 48; +const DATA_LENGTH: usize = 32; fn test(created_with_params: bool) { let mut rng = ChaCha20Rng::from_seed(Default::default());