Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
remove unused state machine
Browse files Browse the repository at this point in the history
  • Loading branch information
gui1117 committed Sep 10, 2021
1 parent 88c64e0 commit 511047a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion primitives/state-machine/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion primitives/state-machine/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 511047a

Please sign in to comment.