mirror of
https://github.com/logos-messaging/js-noise.git
synced 2026-01-02 05:33:09 +00:00
fix test
This commit is contained in:
parent
45bd8d4233
commit
76deae2cff
@ -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";
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user