Skip to content

Commit

Permalink
change param order
Browse files Browse the repository at this point in the history
  • Loading branch information
fgimenez committed Nov 13, 2024
1 parent f6a5c77 commit 013968c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/trie/trie/src/witness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ where
pub fn target_nodes<'b>(
key: Nibbles,
value: Option<Vec<u8>>,
proof: impl IntoIterator<Item = (&'b Nibbles, &'b Bytes)>,
mut witness: Option<&mut HashMap<B256, Bytes>>,
proof: impl IntoIterator<Item = (&'b Nibbles, &'b Bytes)>,
) -> Result<BTreeMap<Nibbles, Either<B256, Vec<u8>>>, TrieWitnessError> {
let mut trie_nodes = BTreeMap::default();
let mut proof_iter = proof.into_iter().enumerate().peekable();
Expand Down

0 comments on commit 013968c

Please sign in to comment.