Skip to content

Commit

Permalink
chore(trie): reveal witness by ref (#13751)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkrasiuk authored Jan 9, 2025
1 parent 4a8c88f commit 1f78b9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/trie/sparse/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ impl<F: BlindedProviderFactory> SparseStateTrie<F> {
pub fn reveal_witness(
&mut self,
state_root: B256,
witness: B256HashMap<Bytes>,
witness: &B256HashMap<Bytes>,
) -> SparseStateTrieResult<()> {
// Create a `(hash, path, maybe_account)` queue for traversing witness trie nodes
// starting from the root node.
Expand Down

0 comments on commit 1f78b9e

Please sign in to comment.