Skip to content

Commit

Permalink
Fix potential generation of invalid SignData in shim
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Feb 9, 2024
1 parent 29633ad commit f069417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coordinator/src/tests/tributary/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,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() % 255) {
res.push(random_vec(&mut OsRng, 512));
}
res
Expand Down

0 comments on commit f069417

Please sign in to comment.