Skip to content

Commit

Permalink
Update go-sdk/pkg/sparse-merkle-tree/core/node.go
Browse files Browse the repository at this point in the history
Co-authored-by: Chengxuan Xing <[email protected]>
Signed-off-by: jimthematrix <[email protected]>
  • Loading branch information
jimthematrix and Chengxuan authored Oct 4, 2024
1 parent ca24d92 commit 64f0c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go-sdk/pkg/sparse-merkle-tree/core/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type NodeRef interface {
Equal(NodeRef) bool
}

// NodeIndex is the index of a node in the Sparse Merkle Tree
// NodeIndex defines the functions of leaf nodes in the SMT, which provide access to their node paths in addition to the NodeRef functions.
type NodeIndex interface {
NodeRef
// IsBitOn returns true if the index bit at the given position is 1
Expand Down

0 comments on commit 64f0c67

Please sign in to comment.