Merge pull request #721 from xiaoxianBoy/fix-typos

chore: fix typos
Former-commit-id: 87e94afeac
This commit is contained in:
Cedoor
2024-03-25 11:50:35 +00:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ to any question. The user, however, can only vote once per question.
## About the code
This repository contains the code for Semaphore's contracts written in
Soliidty, and zk-SNARK circuits written in
Solidity, and zk-SNARK circuits written in
[circom](https://github.com/iden3/circom). It also contains Typescript code to
execute tests.

View File

@@ -418,13 +418,13 @@ describe("Semaphore", () => {
describe("SemaphoreGroups", () => {
describe("# hasMember", () => {
it("Should return true because the memeber is part of the group", async () => {
it("Should return true because the member is part of the group", async () => {
const groupId = 1
const isMember = await semaphoreContract.hasMember(groupId, members[0])
await expect(isMember).to.be.true
})
it("Should return false because the memeber is not part of the group", async () => {
it("Should return false because the member is not part of the group", async () => {
const groupId = 1
const identity = new Identity()
const isMember = await semaphoreContract.hasMember(groupId, identity.commitment)