Skip to content

Commit

Permalink
docs(proof): update readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed Oct 11, 2023
1 parent b088b71 commit c1466d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/proof/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ group: _Group_ | _MerkleProof_,
externalNullifier: _BytesLike | Hexable | number | bigint_,
signal: _BytesLike | Hexable | number | bigint_,
snarkArtifacts?: _SnarkArtifacts_
): Promise\<_SemaphoreFullProof_>
): Promise\<_SemaphoreProof_>

```typescript
import { Identity } from "@semaphore-protocol/identity"
Expand All @@ -100,7 +100,7 @@ const fullProof = await generateProof(identity, group, externalNullifier, signal
// const fullProof = await generateProof(identity, group, externalNullifier, signal)
```

\# **verifyProof**(fullProof: _FullProof_, treeDepth: _number_): Promise\<_boolean_>
\# **verifyProof**(semaphoreProof: _SemaphoreProof_, treeDepth: _number_): Promise\<_boolean_>

```typescript
import { verifyProof } from "@semaphore-protocol/proof"
Expand Down

0 comments on commit c1466d1

Please sign in to comment.