Skip to content

Commit

Permalink
fix(group): make members bigint types
Browse files Browse the repository at this point in the history
  • Loading branch information
cedoor committed May 17, 2023
1 parent e783465 commit d1d309a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/group/src/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default class Group {
}

this._id = id
this.merkleTree = new IncrementalMerkleTree(poseidon2, treeDepth, hash(id), 2, members)
this.merkleTree = new IncrementalMerkleTree(poseidon2, treeDepth, hash(id), 2, members.map(BigInt))
}

/**
Expand Down

0 comments on commit d1d309a

Please sign in to comment.