mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-01 08:12:14 +00:00
Fix rand_os warning in tests
This commit is contained in:
parent
2cd8a7f4d2
commit
ac4acfa26e
@ -186,8 +186,7 @@ pub fn scan_block(
|
|||||||
mod tests {
|
mod tests {
|
||||||
use ff::{Field, PrimeField, PrimeFieldRepr};
|
use ff::{Field, PrimeField, PrimeFieldRepr};
|
||||||
use pairing::bls12_381::{Bls12, Fr};
|
use pairing::bls12_381::{Bls12, Fr};
|
||||||
use rand_core::RngCore;
|
use rand_core::{OsRng, RngCore};
|
||||||
use rand_os::OsRng;
|
|
||||||
use zcash_primitives::{
|
use zcash_primitives::{
|
||||||
jubjub::{fs::Fs, FixedGenerators, JubjubParams, ToUniform},
|
jubjub::{fs::Fs, FixedGenerators, JubjubParams, ToUniform},
|
||||||
merkle_tree::CommitmentTree,
|
merkle_tree::CommitmentTree,
|
||||||
|
Loading…
Reference in New Issue
Block a user