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

@@ -14,11 +14,10 @@ byteorder = "1"
directories = { version = "1", optional = true }
ff = { path = "../ff" }
pairing = { path = "../pairing" }
rand_os = "0.2"
rand_core = "0.5"
zcash_primitives = { path = "../zcash_primitives" }
[dev-dependencies]
rand_core = "0.5"
rand_xorshift = "0.2"
[features]

View File

@@ -4,7 +4,7 @@ use bellman::{
};
use ff::Field;
use pairing::bls12_381::{Bls12, Fr};
use rand_os::OsRng;
use rand_core::OsRng;
use zcash_primitives::{
jubjub::{edwards, fs::Fs, FixedGenerators, JubjubBls12, Unknown},
primitives::{Diversifier, Note, PaymentAddress, ProofGenerationKey, ValueCommitment},