mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-11-03 04:47:02 +00:00
Migrate zcash_primitives to rand_core 0.4
This commit is contained in:
@@ -202,12 +202,12 @@ impl<Node: Hashable> CommitmentTree<Node> {
|
||||
/// ```
|
||||
/// extern crate ff;
|
||||
/// extern crate pairing;
|
||||
/// extern crate rand;
|
||||
/// extern crate rand_os;
|
||||
/// extern crate zcash_primitives;
|
||||
///
|
||||
/// use ff::{Field, PrimeField};
|
||||
/// use pairing::bls12_381::Fr;
|
||||
/// use rand::OsRng;
|
||||
/// use rand_os::OsRng;
|
||||
/// use zcash_primitives::{
|
||||
/// merkle_tree::{CommitmentTree, IncrementalWitness},
|
||||
/// sapling::Node,
|
||||
|
||||
Reference in New Issue
Block a user