From 78a5f1193c3856c0a3252c32b9fc7ea273a0c991 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 943b72419..ff27ed3c4 100644 --- a/mutable_tree.go +++ b/mutable_tree.go @@ -347,7 +347,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)