add: ephemeral to public key message

This commit is contained in:
danisharora099 2023-01-19 14:28:41 +05:30
parent f32fc277fb
commit 31c80982c2
No known key found for this signature in database
GPG Key ID: FBD2BF500037F135
1 changed files with 3 additions and 1 deletions

View File

@ -49,7 +49,9 @@ export default function BroadcastPublicKey({
const publicKeyMessageEncoder = createEncoder(
PublicKeyContentTopic,
PublicKeyMessageEncryptionKey
PublicKeyMessageEncryptionKey,
undefined,
true
);
await waku.relay.send(publicKeyMessageEncoder, { payload });