diff --git a/examples/eth-dm/src/InitWaku.tsx b/examples/eth-dm/src/InitWaku.tsx index 3ef45e0c76..e01f12e85d 100644 --- a/examples/eth-dm/src/InitWaku.tsx +++ b/examples/eth-dm/src/InitWaku.tsx @@ -119,6 +119,7 @@ function handlePublicKeyMessage( setter: Dispatch>>, msg: WakuMessage ) { + console.log('Public Key Message received:', msg); if (!msg.payload) return; const publicKeyMsg = PublicKeyMessage.decode(msg.payload); if (!publicKeyMsg) return; @@ -140,7 +141,7 @@ async function handleDirectMessage( address: string, wakuMsg: WakuMessage ) { - console.log('Waku Message received:', wakuMsg); + console.log('Direct Message received:', wakuMsg); if (!wakuMsg.payload) return; const directMessage: DirectMessage = decode(wakuMsg.payload); if (directMessage.toAddress !== address) return;