feat(rln-js): add logs
This commit is contained in:
parent
ea9da4cf90
commit
b12222c531
|
@ -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;
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue