This commit is contained in:
Sasha 2024-04-16 02:07:28 +02:00
parent 45bd8d4233
commit 76deae2cff
No known key found for this signature in database
2 changed files with 2 additions and 4 deletions

View File

@ -78,9 +78,7 @@ export class WakuPairing {
* @returns content topic string
*/
private static toContentTopic(qr: QR): string {
return (
"/" + qr.applicationName + "/" + qr.applicationVersion + "/" + qr.shardId + "/proto"
);
return "/" + qr.applicationName + "/" + qr.applicationVersion + "/" + qr.shardId + "/proto";
}
/**

View File

@ -69,7 +69,7 @@ describe("Waku Noise Sessions", () => {
// We set the contentTopic from the content topic parameters exchanged in the QR
const contentTopic =
"/" + applicationName + "/" + applicationVersion + "/wakunoise/1/sessions_shard-" + shardId + "/proto";
"/" + applicationName + "/" + applicationVersion + "/" + shardId + "/proto";
// Pre-handshake message
// <- eB {H(sB||r), contentTopicParams, messageNametag}