Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
AurelienFT committed Mar 15, 2024
1 parent b933ddf commit 031dbd6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/trie/merkle_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -669,10 +669,6 @@ impl<H: StarkHash> MerkleTree<H> {
if let Node::Edge(parent_edge) = parent_node {
parent_edge.path.0.extend_from_bitslice(&new_edge.path.0);
parent_edge.child = new_edge.child;
// Replace the old binary node with the new edge node.
self.storage_nodes
.0
.insert(parent_node_id, Node::Edge(parent_edge));
} else {
self.storage_nodes.0.insert(node_id, Node::Edge(new_edge));
}
Expand Down

0 comments on commit 031dbd6

Please sign in to comment.