mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-10 15:47:33 +00:00
The crate rename (#4223)
* Adding script for rename, could be applicable for nodes on top of it, too * add stderr and gitlab ci features * apply script * fix now minor details in expected stderr * Update the Cargo.lock * fix name: sc-transaction -> sc-tracing * fix rename in script, too
This commit is contained in:
committed by
GitHub
parent
40f6d05a4c
commit
927e13c13a
@@ -28,8 +28,8 @@ use crate::traits::{Hash, TrailingZeroInput};
|
||||
///
|
||||
/// Example:
|
||||
/// ```
|
||||
/// use sr_primitives::traits::{Hash, BlakeTwo256};
|
||||
/// use sr_primitives::RandomNumberGenerator;
|
||||
/// use sp_runtime::traits::{Hash, BlakeTwo256};
|
||||
/// use sp_runtime::RandomNumberGenerator;
|
||||
/// let random_seed = BlakeTwo256::hash(b"Sixty-nine");
|
||||
/// let mut rng = <RandomNumberGenerator<BlakeTwo256>>::new(random_seed);
|
||||
/// assert_eq!(rng.pick_u32(100), 59);
|
||||
|
||||
Reference in New Issue
Block a user