use range constructor

This commit is contained in:
Sergio Chouhy 2026-03-31 08:39:34 -03:00
parent 99071a4ef9
commit be14ac3b6f

View File

@ -102,7 +102,7 @@ mod tests {
),
[0xab; 32],
)],
validity_window: (Some(1), None).try_into().unwrap(),
validity_window: (1..).into(),
};
let bytes = output.to_bytes();
let output_from_slice: PrivacyPreservingCircuitOutput = from_slice(&bytes).unwrap();