chore(trie): reveal witness by ref (#13751)

This commit is contained in:
Roman Krasiuk
2025-01-09 16:34:57 +01:00
committed by GitHub
parent 4a8c88f4d0
commit 1f78b9e7e4

View File

@ -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.