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 00cfd0f commit af5277d
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 @@ -36,7 +36,7 @@ const (

// NodeRef defines functions associated with the reference hash of SMT nodes, this interface applies to all types of nodes (reference hash calculated differently depending on node type)
type NodeRef interface {
// BigInt returns the big integer representation of the index
// BigInt returns the big integer representation of the reference hash
BigInt() *big.Int
// Hex returns the hex string representation of the index in big-endian format
Hex() string
Expand Down

0 comments on commit af5277d

Please sign in to comment.