Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Oct 4, 2024
1 parent 964a337 commit b21524c
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 @@ -157,7 +157,7 @@ func (t *Tree) SaveVersion(updateHash bool) ([]byte, int64, error) {
hash = t.RootHash()
}

t.version = t.version + 1
t.version++
return hash, int64(t.version), nil
}

Expand Down

0 comments on commit b21524c

Please sign in to comment.