Skip to content

Commit

Permalink
cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Longarithm committed Sep 17, 2024
1 parent 3291b63 commit e47af53
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/store/src/trie/mem/updating.rs
Original file line number Diff line number Diff line change
Expand Up @@ -695,8 +695,9 @@ impl<'a> MemTrieUpdate<'a> {
}

/// For each node in `ordered_nodes`, computes its hash and serialized data.
/// The `ordered_nodes` is expected to come from `post_order_traverse_updated_nodes`,
/// and updated_nodes are indexed by the node IDs in `ordered_nodes`.
/// `ordered_nodes` is expected to follow the post-order traversal of the
/// updated nodes.
/// `updated_nodes` must be indexed by the node IDs in `ordered_nodes`.
pub(crate) fn compute_hashes_and_serialized_nodes(
&self,
ordered_nodes: &Vec<UpdatedMemTrieNodeId>,
Expand Down

0 comments on commit e47af53

Please sign in to comment.