Skip to content

Commit

Permalink
Update merkle/types/db.go
Browse files Browse the repository at this point in the history
Co-authored-by: beer-1 <[email protected]>
  • Loading branch information
sh-cha and beer-1 authored Dec 10, 2024
1 parent 73c7f5f commit 303e08f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion merkle/types/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ func (t LegacyTreeInfo) Migrate(version uint64) TreeInfo {
}

type TreeInfo struct {
// Version of the tree
// Version represents the chain height. We store the tree information for each height to
// maintain a record of the state of the tree at that specific height.
Version uint64 `json:"version"`

// Index of the tree used as prefix for the keys
Expand Down

0 comments on commit 303e08f

Please sign in to comment.