Skip to content

Commit

Permalink
Merge pull request #726 from semaphore-protocol/docs/add-social-media…
Browse files Browse the repository at this point in the history
…-card

Docs: Add social media card
  • Loading branch information
cedoor authored Mar 25, 2024
2 parents 95cb7dd + 3e3c3f4 commit f1441fd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions apps/docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ const config: Config = {
backgroundColor: "#dde6fc",
textColor: "#000000"
},
// Social media card
image: "img/social-media.png",
navbar: {
logo: {
alt: "Semaphore Logo",
Expand Down
Binary file added apps/docs/static/img/social-media.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion apps/docs/versioned_docs/version-V4-beta/guides/proofs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ import { generateProof } from "@semaphore-protocol/proof"
const scope = group.root
const message = 1

const proof = await generateProof(identity, group, scope, message)
const proof = await generateProof(identity, group, message, scope)
```

## Verify a proof
Expand Down
2 changes: 1 addition & 1 deletion packages/proof/src/generate-proof.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import { SemaphoreProof, SnarkArtifacts } from "./types"
* or they will be automatically fetched.
* @param identity The Semaphore identity.
* @param groupOrMerkleProof The Semaphore group or its Merkle proof.
* @param scope The Semaphore scope.
* @param message The Semaphore message.
* @param scope The Semaphore scope.
* @param merkleTreeDepth The depth of the tree with which the circuit was compiled.
* @param snarkArtifacts The SNARK artifacts.
* @returns The Semaphore proof ready to be verified.
Expand Down

0 comments on commit f1441fd

Please sign in to comment.