Upgrade rand to 0.8

This commit is contained in:
Alekos Filini
2022-10-24 12:01:56 +02:00
parent 9854fd34ea
commit ae4f4e5416
5 changed files with 23 additions and 6 deletions

View File

@@ -703,7 +703,7 @@ impl TxOrdering {
#[cfg(not(test))]
let mut rng = rand::thread_rng();
#[cfg(test)]
let mut rng = rand::rngs::StdRng::seed_from_u64(0);
let mut rng = rand::rngs::StdRng::seed_from_u64(12345);
tx.output.shuffle(&mut rng);
}