workaround, maybe?

This commit is contained in:
Gabriel mermelstein 2025-04-10 18:13:42 +03:00
parent 791d9555f0
commit 140d3ac798

View File

@ -638,8 +638,8 @@ method init*(g: OnchainGroupManager): Future[GroupManagerResult[void]] {.async.}
let membershipExists = await wakuRlnContract
.memberExists(keystoreCred.identityCredential.idCommitment.toUInt256())
.call()
if membershipExists == 0:
return err("the commitment does not have a membership")
#[ if membershipExists == 0:
return err("the commitment does not have a membership") ]#
except CatchableError:
return err("failed to check if the commitment has a membership")