We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4988ab6 commit af7791aCopy full SHA for af7791a
lib/trie/proof/verify.go
@@ -21,6 +21,9 @@ var (
21
22
// Verify verifies a given key and value belongs to the trie by creating
23
// a proof trie based on the encoded proof nodes given. The order of proofs is ignored.
24
+// A nil error is returned on success.
25
+// Note this is exported because it is imported and used by:
26
+// https://github.com/ComposableFi/ibc-go/blob/6d62edaa1a3cb0768c430dab81bb195e0b0c72db/modules/light-clients/11-beefy/types/client_state.go#L78
27
func Verify(encodedProofNodes [][]byte, rootHash, key, value []byte) (err error) {
28
proofTrie, err := buildTrie(encodedProofNodes, rootHash)
29
if err != nil {
0 commit comments