Skip to content

Commit

Permalink
Merge cosmos#589
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo Husseini authored and Mo Husseini committed Oct 15, 2022
1 parent 7f698ba commit 245f9d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mutable_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,10 @@ func (tree *MutableTree) remove(key []byte) (value []byte, orphaned []*Node, rem
return nil, nil, false, nil
}

tree.addUnsavedRemoval(key)
// tree.addUnsavedRemoval(key)
if !tree.skipFastStorageUpgrade {
tree.addUnsavedRemoval(key)
}

if newRoot == nil && newRootHash != nil {
tree.root, err = tree.ndb.GetNode(newRootHash)
Expand Down

0 comments on commit 245f9d7

Please sign in to comment.