chore: remove debug logs

This commit is contained in:
fryorcraken.eth 2022-10-05 11:23:41 +11:00
parent b106ba0e7f
commit aa08cfaf1d
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 0 additions and 8 deletions

View File

@ -218,7 +218,6 @@
const idCommitment = ethers.utils.zeroPad(ethers.utils.arrayify(pubkey), 32);
rlnInstance.insertMember(idCommitment);
const indexInt = index.toNumber()
console.log("index", index)
if (!latestMembershipSpan.innerText || indexInt > latestMembershipSpan.innerText) {
latestMembershipSpan.innerText = indexInt
}
@ -312,9 +311,6 @@
messages.forEach(msg => {
messagesDiv.innerHTML += `<li>${msg.msg} - [epoch: ${msg.epoch}, proof: ${msg.proofState} ]</li>`
console.log("msg.verify", msg.verify)
console.log("msg.proof", msg.rateLimitProof)
if (msg.proofState === "verifying...") {
console.log("Verifying proof")
const res = msg.verify()
@ -337,10 +333,6 @@
const time = new Date();
time.setTime(Number(timestamp));
console.log("wakuMessage:", wakuMessage)
console.log("wakuMessage.verify", wakuMessage.verify)
console.log("wakuMessage.proof", wakuMessage.rateLimitProof)
let proofState, verify;
if (typeof wakuMessage.verify === "undefined") {
proofState = "no proof attached";