mirror of
https://github.com/waku-org/js-waku-examples.git
synced 2025-02-23 21:28:06 +00:00
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…
x
Reference in New Issue
Block a user