Skip to content

Commit 531e16e

Browse files
committed
fix(group): make members bigint types
Former-commit-id: d1d309a
1 parent f2575f2 commit 531e16e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/group/src/group.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default class Group {
2020
}
2121

2222
this._id = id
23-
this.merkleTree = new IncrementalMerkleTree(poseidon2, treeDepth, hash(id), 2, members)
23+
this.merkleTree = new IncrementalMerkleTree(poseidon2, treeDepth, hash(id), 2, members.map(BigInt))
2424
}
2525

2626
/**

0 commit comments

Comments
 (0)