mirror of
https://github.com/logos-storage/plonky2.git
synced 2026-01-05 23:33:07 +00:00
Merge pull request #41 from mir-protocol/os_rng_to_thread_rng
Switched over from OsRng --> thread_rng
This commit is contained in:
commit
ecce373b2a
@ -267,7 +267,7 @@ pub trait Field:
|
||||
}
|
||||
|
||||
fn rand() -> Self {
|
||||
Self::rand_from_rng(&mut OsRng)
|
||||
Self::rand_from_rng(&mut rand::thread_rng())
|
||||
}
|
||||
|
||||
fn rand_vec(n: usize) -> Vec<Self> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user