Skip to content

Commit

Permalink
fix godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
roysc committed Feb 21, 2022
1 parent fe0ffc4 commit 5bacceb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions store/internal/proofs/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var TendermintSpec = &ics23.ProofSpec{
}

/*
CreateMembershipProof will produce a CommitmentProof that the given key (and queries value) exists in the iavl tree.
CreateMembershipProof will produce a CommitmentProof that the given key (and queries value) exists in the map.
If the key doesn't exist in the tree, this will return an error.
*/
func CreateMembershipProof(data map[string][]byte, key []byte) (*ics23.CommitmentProof, error) {
Expand All @@ -53,7 +53,7 @@ func CreateMembershipProof(data map[string][]byte, key []byte) (*ics23.Commitmen
}

/*
CreateNonMembershipProof will produce a CommitmentProof that the given key doesn't exist in the iavl tree.
CreateNonMembershipProof will produce a CommitmentProof that the given key doesn't exist in the map.
If the key exists in the tree, this will return an error.
*/
func CreateNonMembershipProof(data map[string][]byte, key []byte) (*ics23.CommitmentProof, error) {
Expand Down

0 comments on commit 5bacceb

Please sign in to comment.