semaphore-protocol / semaphore

A zero-knowledge protocol for anonymous interactions.
https://semaphore.pse.dev
MIT License
887 stars 194 forks source link

Check that a member is not `BigInt(0)` when adding members to a group in the JS implementation #717

Closed vplasencia closed 5 months ago

vplasencia commented 5 months ago

Description

Check that there are no BigInt(0) members when adding members in the Group class.

https://github.com/semaphore-protocol/semaphore/blob/main/packages/group/src/group.ts