mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-08 08:43:09 +00:00
chore: fix condition
This commit is contained in:
parent
5a5d7b3e26
commit
741fb28c09
@ -433,7 +433,7 @@ export class RLNBaseContract {
|
||||
eraseFromMembershipSet: boolean = true
|
||||
): Promise<ethers.ContractTransaction> {
|
||||
if (
|
||||
!(await this.isExpired(idCommitmentBigInt)) &&
|
||||
!(await this.isExpired(idCommitmentBigInt)) ||
|
||||
!(await this.isInGracePeriod(idCommitmentBigInt))
|
||||
) {
|
||||
throw new Error("Membership is not expired or in grace period");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user