Correct SignData serialization test from creating 256 signers of data

This overflows the u8 allowed and caused a CI failure. The actual
code/assumption is fine.
This commit is contained in:
Luke Parker 2023-12-30 19:08:27 -05:00
parent 99e05e4e5e
commit ec8dfd4639
No known key found for this signature in database

View file

@ -62,7 +62,7 @@ fn random_sign_data<R: RngCore, Id: Clone + PartialEq + Eq + Debug + Encode + De
data: {
let mut res = vec![];
for _ in 0 ..= (rng.next_u64() % 256) {
for _ in 0 .. (rng.next_u64() % 256) {
res.push(random_vec(&mut OsRng, 512));
}
res