Merge pull request #134 from NikVolf/z-rng

Avoid using rand_os crate (fixes warnings)
This commit is contained in:
str4d
2019-10-02 17:35:56 -06:00
committed by GitHub
13 changed files with 15 additions and 34 deletions

View File

@@ -25,6 +25,5 @@ pairing = { path = "../pairing" }
lazy_static = "1"
byteorder = "1"
rand_core = "0.5"
rand_os = "0.2"
zcash_primitives = { path = "../zcash_primitives" }
zcash_proofs = { path = "../zcash_proofs" }

View File

@@ -27,8 +27,7 @@ use blake2s_simd::Params as Blake2sParams;
use byteorder::{LittleEndian, ReadBytesExt, WriteBytesExt};
use rand_core::RngCore;
use rand_os::OsRng;
use rand_core::{OsRng, RngCore};
use std::io::BufReader;
use libc::{c_char, c_uchar, size_t};

View File

@@ -1,7 +1,6 @@
use ff::{PrimeField, PrimeFieldRepr};
use pairing::bls12_381::Bls12;
use rand_core::RngCore;
use rand_os::OsRng;
use rand_core::{OsRng, RngCore};
use zcash_primitives::jubjub::{edwards, JubjubBls12};
use zcash_primitives::primitives::{Diversifier, ViewingKey};