Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk committed Sep 16, 2024
1 parent ed13bfc commit 02c211d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/trie/parallel/benches/root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pub fn calculate_state_root(c: &mut Criterion) {
blocking_pool.clone(),
Default::default(),
updated_state.clone(),
updated_state.construct_prefix_sets(),
updated_state.construct_prefix_sets().freeze(),
)
},
|calculator| calculator.incremental_root(),
Expand Down
2 changes: 1 addition & 1 deletion crates/trie/parallel/src/async_root.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ mod tests {
}
}

let prefix_sets = hashed_state.construct_prefix_sets();
let prefix_sets = hashed_state.construct_prefix_sets().freeze();
assert_eq!(
AsyncStateRoot::new(
consistent_view.clone(),
Expand Down

0 comments on commit 02c211d

Please sign in to comment.