Skip to content

Commit

Permalink
Update inline comments for the merkle tree structure
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Zhang <[email protected]>
  • Loading branch information
jimthematrix committed Jul 30, 2024
1 parent 19ad1ab commit bc40deb
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions zkp/golang/pkg/core/merkletree.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ import "math/big"
//
// The tree is built from the root node, at level 0, down to the leaf nodes.
//
// root level 0
// / \
// e f level 1
// / \ / \
// a b c d level 2
// / \ / \ / \ / \
// 1 2 3 4 5 - - - level 3
// root level 0
// / \
// e f level 1
// / \ / \
// a b c d level 2
// / \ / \ / \ / \
// 1 2 3 4 5 - - - level 3
type SparseMerkleTree interface {
// Root returns the root hash of the tree
Root() NodeIndex
Expand Down

0 comments on commit bc40deb

Please sign in to comment.