Skip to content

Commit

Permalink
Merge branch 'colin/update-verify-membership-and-nonmembership' of gi…
Browse files Browse the repository at this point in the history
…thub.com:cosmos/ics23 into colin/update-verify-membership-and-nonmembership
  • Loading branch information
colin-axner committed Oct 21, 2024
2 parents c08b737 + 718e9e2 commit 6896086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/ics23.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
// CommitmentRoot is a byte slice that represents the merkle root of a tree that can be used to validate proofs
type CommitmentRoot []byte

// VerifyMembership returns successfully iff
// VerifyMembership returns true iff
// proof is an ExistenceProof for the given key and value AND
// calculating the root for the ExistenceProof matches the provided CommitmentRoot.
func VerifyMembership(spec *ProofSpec, root CommitmentRoot, proof *CommitmentProof, key []byte, value []byte) bool {
Expand Down

0 comments on commit 6896086

Please sign in to comment.