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; };