mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-04 06:53:12 +00:00
Clean up debugging lines
This commit is contained in:
parent
39b5b7b189
commit
2f757efb18
@ -85,7 +85,6 @@ proc doRlnKeystoreGenerator*(conf: RlnKeystoreGeneratorConf) =
|
|||||||
quit(1)
|
quit(1)
|
||||||
|
|
||||||
# 5. register on-chain
|
# 5. register on-chain
|
||||||
debug "credential idcommit", idCommitment = credential.idCommitment.inHex()
|
|
||||||
try:
|
try:
|
||||||
waitFor groupManager.register(credential, conf.userMessageLimit)
|
waitFor groupManager.register(credential, conf.userMessageLimit)
|
||||||
except Exception, CatchableError:
|
except Exception, CatchableError:
|
||||||
|
|||||||
@ -547,16 +547,7 @@ method init*(g: OnchainGroupManager): Future[GroupManagerResult[void]] {.async.}
|
|||||||
g.membershipIndex = some(keystoreCred.treeIndex)
|
g.membershipIndex = some(keystoreCred.treeIndex)
|
||||||
g.userMessageLimit = some(keystoreCred.userMessageLimit)
|
g.userMessageLimit = some(keystoreCred.userMessageLimit)
|
||||||
# now we check on the contract if the commitment actually has a membership
|
# now we check on the contract if the commitment actually has a membership
|
||||||
let idCommitmentBytes = keystoreCred.identityCredential.idCommitment
|
let idCommitment = keystoreCred.identityCredential.idCommitment.toUInt256()
|
||||||
let idCommitmentUInt256 = keystoreCred.identityCredential.idCommitment.toUInt256()
|
|
||||||
let idCommitmentHex = idCommitmentBytes.inHex()
|
|
||||||
debug "Keystore idCommitment in bytes",
|
|
||||||
idCommitmentBytes = idCommitmentBytes
|
|
||||||
debug "Keystore idCommitment in UInt256 ",
|
|
||||||
idCommitmentUInt256 = idCommitmentUInt256
|
|
||||||
debug "Keystore idCommitment in hex ",
|
|
||||||
idCommitmentHex = idCommitmentHex
|
|
||||||
let idCommitment = idCommitmentUInt256
|
|
||||||
try:
|
try:
|
||||||
let membershipExists = await wakuRlnContract
|
let membershipExists = await wakuRlnContract
|
||||||
.isInMembershipSet(idCommitment).call()
|
.isInMembershipSet(idCommitment).call()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user