mirror of
https://github.com/semaphore-protocol/semaphore.git
synced 2026-04-28 03:00:41 -04:00
Merge pull request #721 from xiaoxianBoy/fix-typos
chore: fix typos
Former-commit-id: 87e94afeac
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user