remove unused state machine (#9747)

This commit is contained in:
Guillaume Thiolliere
2021-09-10 16:32:46 +02:00
committed by GitHub
parent 250f9fc1ae
commit be3c59f59c
2 changed files with 2 additions and 2 deletions
@@ -35,7 +35,7 @@ tracing = { version = "0.1.22", optional = true }
hex-literal = "0.3.1"
sp-runtime = { version = "4.0.0-dev", path = "../runtime" }
pretty_assertions = "0.6.1"
rand = { version = "0.7.2", feature = ["small_rng"] }
rand = { version = "0.7.2" }
[features]
default = ["std"]
@@ -1579,7 +1579,7 @@ mod tests {
let mut seed = [0; 16];
for i in 0..50u32 {
let mut child_infos = Vec::new();
&seed[0..4].copy_from_slice(&i.to_be_bytes()[..]);
seed[0..4].copy_from_slice(&i.to_be_bytes()[..]);
let mut rand = SmallRng::from_seed(seed);
let nb_child_trie = rand.next_u32() as usize % 25;