From 8ea4a7436b871d77c6367116f3d1fd3f977c642b Mon Sep 17 00:00:00 2001 From: Roman Date: Sun, 16 Oct 2022 03:46:49 -0500 Subject: [PATCH] refactor: disable remaining fast node logic in mutable tree (#589) --- mutable_tree.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mutable_tree.go b/mutable_tree.go index abb899edc..4d352f680 100644 --- a/mutable_tree.go +++ b/mutable_tree.go @@ -346,7 +346,9 @@ func (tree *MutableTree) remove(key []byte) (value []byte, orphaned []*Node, rem return nil, nil, false, nil } - tree.addUnsavedRemoval(key) + if !tree.skipFastStorageUpgrade { + tree.addUnsavedRemoval(key) + } if newRoot == nil && newRootHash != nil { tree.root, err = tree.ndb.GetNode(newRootHash)