fix: use overloaded function call

This commit is contained in:
Danish Arora 2025-04-14 13:56:14 +05:30
parent 061771a739
commit e5ef13472c
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E

View File

@ -432,7 +432,7 @@ export class RLNBaseContract {
idCommitmentBigInt: bigint,
eraseFromMembershipSet: boolean = true
): Promise<ethers.ContractTransaction> {
const tx = await this.contract.eraseMemberships(
const tx = await this.contract["eraseMemberships(uint256[],bool)"](
[idCommitmentBigInt],
eraseFromMembershipSet
);