diff --git a/smt.go b/smt.go index 8606b9d..d16ff89 100644 --- a/smt.go +++ b/smt.go @@ -765,7 +765,6 @@ func (tree *BNBSparseMerkleTree) Clear(recentVersion *Version) (err error) { tree.rootSize += uint64(versionSize * len(tree.root.Children[i].Versions)) } } - _, err = tree.Commit(&version) return err }