Skip to content

Commit 197ba46

Browse files
fix: overloaded function call
1 parent d17562d commit 197ba46

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/rln/src/contract/rln_base_contract.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -432,9 +432,7 @@ export class RLNBaseContract {
432432
idCommitmentBigInt: bigint,
433433
eraseFromMembershipSet: boolean = true
434434
): Promise<ethers.ContractTransaction> {
435-
// eslint-disable-next-line no-console
436-
console.log(Object.keys(this.contract));
437-
const tx = await this.contract.eraseMemberships(
435+
const tx = await this.contract.functions.eraseMemberships(
438436
[idCommitmentBigInt],
439437
eraseFromMembershipSet
440438
);

0 commit comments

Comments
 (0)