From 718e9e24a6edc77a82c0b2d3a42e51ec8c04c920 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?colin=20axn=C3=A9r?= <25233464+colin-axner@users.noreply.github.com> Date: Mon, 21 Oct 2024 17:12:11 +0200 Subject: [PATCH] Update go/ics23.go --- go/ics23.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/ics23.go b/go/ics23.go index 8e7f8563..b278cc3b 100644 --- a/go/ics23.go +++ b/go/ics23.go @@ -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 {