Skip to content

Commit

Permalink
fix(v1.x.x): revert unnecessary changes (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-develope authored Mar 14, 2024
1 parent bfaf5fc commit 68cfac0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mutable_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,6 @@ func (tree *MutableTree) LoadVersion(targetVersion int64) (int64, error) {

if firstVersion == 0 {
if targetVersion <= 0 {
tree.version = int64(tree.ndb.opts.InitialVersion)

if !tree.skipFastStorageUpgrade {
tree.mtx.Lock()
defer tree.mtx.Unlock()
Expand Down

0 comments on commit 68cfac0

Please sign in to comment.