mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
workaround, maybe?
This commit is contained in:
parent
791d9555f0
commit
140d3ac798
@ -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")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user