mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
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:
parent
99e05e4e5e
commit
ec8dfd4639
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue