Remove unnecessary parameter

This commit is contained in:
Franck Royer 2021-08-11 15:57:37 +10:00
parent 85231a288f
commit 19c355e36b
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 0 additions and 2 deletions

View File

@ -146,7 +146,6 @@ function App() {
const observerDirectMessage = handleDirectMessage.bind( const observerDirectMessage = handleDirectMessage.bind(
{}, {},
setMessages, setMessages,
ethDmKeyPair.privateKey,
address address
); );

View File

@ -58,7 +58,6 @@ export function handlePublicKeyMessage(
export async function handleDirectMessage( export async function handleDirectMessage(
setter: Dispatch<SetStateAction<Message[]>>, setter: Dispatch<SetStateAction<Message[]>>,
privateKey: Uint8Array,
address: string, address: string,
wakuMsg: WakuMessage wakuMsg: WakuMessage
) { ) {