Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Oct 5, 2024
1 parent 77017fc commit bb0913a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memiavl/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (t *Tree) setInitialVersion(initialVersion uint32) {
if initialVersion < 1 {
t.version = 0
} else {
t.version = uint32(initialVersion - 1)
t.version = initialVersion - 1
}
}

Expand Down

0 comments on commit bb0913a

Please sign in to comment.