diff --git a/examples/eth-dm/src/App.tsx b/examples/eth-dm/src/App.tsx index d7064dc543..a43b1ac15d 100644 --- a/examples/eth-dm/src/App.tsx +++ b/examples/eth-dm/src/App.tsx @@ -146,7 +146,6 @@ function App() { const observerDirectMessage = handleDirectMessage.bind( {}, setMessages, - ethDmKeyPair.privateKey, address ); diff --git a/examples/eth-dm/src/waku.ts b/examples/eth-dm/src/waku.ts index 99a2877fe0..a1ff7e119f 100644 --- a/examples/eth-dm/src/waku.ts +++ b/examples/eth-dm/src/waku.ts @@ -58,7 +58,6 @@ export function handlePublicKeyMessage( export async function handleDirectMessage( setter: Dispatch>, - privateKey: Uint8Array, address: string, wakuMsg: WakuMessage ) {