From d147958c67d60e67831727bfe7a20b2662eecbf8 Mon Sep 17 00:00:00 2001 From: cedoor Date: Wed, 20 Mar 2024 09:48:45 +0000 Subject: [PATCH] docs: fix variable name --- apps/docs/versioned_docs/version-V4-beta/guides/proofs.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/versioned_docs/version-V4-beta/guides/proofs.mdx b/apps/docs/versioned_docs/version-V4-beta/guides/proofs.mdx index 2ded52f34..6b314c814 100644 --- a/apps/docs/versioned_docs/version-V4-beta/guides/proofs.mdx +++ b/apps/docs/versioned_docs/version-V4-beta/guides/proofs.mdx @@ -92,7 +92,7 @@ import { generateProof } from "@semaphore-protocol/proof" const scope = group.root const message = 1 -const proof = await generateProof(identity, group, externalNullifier, message) +const proof = await generateProof(identity, group, scope, message) ``` ## Verify a proof