We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1e55c6 commit cf00e34Copy full SHA for cf00e34
crates/starknet_patricia/src/patricia_merkle_tree/updated_skeleton_tree/create_tree_helper.rs
@@ -240,7 +240,7 @@ impl UpdatedSkeletonTreeImpl {
240
}
241
242
};
243
- let updated = match original_node {
+ let updated_node = match original_node {
244
OriginalSkeletonNode::Binary => UpdatedSkeletonNode::Binary,
245
OriginalSkeletonNode::Edge(path_to_bottom) => {
246
UpdatedSkeletonNode::Edge(*path_to_bottom)
@@ -251,7 +251,7 @@ impl UpdatedSkeletonTreeImpl {
251
continue;
252
253
254
- self.skeleton_tree.insert(index, updated);
+ self.skeleton_tree.insert(index, updated_node);
255
256
257
return TempSkeletonNode::Original(OriginalSkeletonNode::Binary);
0 commit comments