From b12222c531a85422c5498964a63959a018b66fff Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Wed, 28 Sep 2022 00:37:34 +1000 Subject: [PATCH] feat(rln-js): add logs --- rln-js/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rln-js/index.html b/rln-js/index.html index 6864258..63d5642 100644 --- a/rln-js/index.html +++ b/rln-js/index.html @@ -202,7 +202,9 @@ const timestamp = new Date(); const msg = ProtoChatMessage.create({text, nick, timestamp: timestamp.valueOf()}); const payload = ProtoChatMessage.encode(msg).finish(); + console.log("Sending message with proof...") await node.lightPush.push(encoder, {payload, timestamp}); + console.log("Message sent!") textInput.value = null; };