@@ -54,7 +54,7 @@ impl<'a> TraversalStack<'a> {
5454 self . push ( TriePosition :: Pointer ( path, page, pointer, can_add_by_hash) , overlay) ;
5555 }
5656
57- fn push_none ( & mut self , overlay : OverlayState ) {
57+ fn push_overlay ( & mut self , overlay : OverlayState ) {
5858 self . push ( TriePosition :: None , overlay) ;
5959 }
6060
@@ -187,7 +187,7 @@ impl StorageEngine {
187187 storage_branch_updates,
188188 ) ;
189189 // Defer the post_overlay to be processed after the node is traversed
190- stack. push_none ( post_overlay) ;
190+ stack. push_overlay ( post_overlay) ;
191191
192192 if pre_overlay. contains_prefix_of ( & path) {
193193 // A prefix of the node has already been processed, so we can skip the rest
@@ -308,7 +308,7 @@ impl StorageEngine {
308308 // nothing here to add
309309 } else {
310310 // we have a nonconflicting overlay, add all of it to the hash builder
311- stack. push_none ( child_overlay) ;
311+ stack. push_overlay ( child_overlay) ;
312312 }
313313 }
314314 }
@@ -637,8 +637,8 @@ mod tests {
637637 ( output. root , output. updated_branch_nodes , output. storage_branch_updates ) ;
638638 assert_ne ! ( overlay_root, initial_root, "Overlay should not match initial root" ) ;
639639
640- println ! ( "Account branch updates: {:?}" , account_branch_updates) ;
641- println ! ( "Storage branch updates: {:?}" , storage_branch_updates) ;
640+ // println!("Account branch updates: {:?}", account_branch_updates);
641+ // println!("Storage branch updates: {:?}", storage_branch_updates);
642642
643643 let mut overlay_mut_with_branches = OverlayStateMut :: new ( ) ;
644644
0 commit comments