mirror of
https://github.com/logos-messaging/js-noise.git
synced 2026-01-02 13:43:08 +00:00
fix test
This commit is contained in:
parent
45bd8d4233
commit
76deae2cff
@ -78,9 +78,7 @@ export class WakuPairing {
|
|||||||
* @returns content topic string
|
* @returns content topic string
|
||||||
*/
|
*/
|
||||||
private static toContentTopic(qr: QR): string {
|
private static toContentTopic(qr: QR): string {
|
||||||
return (
|
return "/" + qr.applicationName + "/" + qr.applicationVersion + "/" + qr.shardId + "/proto";
|
||||||
"/" + 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
|
// We set the contentTopic from the content topic parameters exchanged in the QR
|
||||||
const contentTopic =
|
const contentTopic =
|
||||||
"/" + applicationName + "/" + applicationVersion + "/wakunoise/1/sessions_shard-" + shardId + "/proto";
|
"/" + applicationName + "/" + applicationVersion + "/" + shardId + "/proto";
|
||||||
|
|
||||||
// Pre-handshake message
|
// Pre-handshake message
|
||||||
// <- eB {H(sB||r), contentTopicParams, messageNametag}
|
// <- eB {H(sB||r), contentTopicParams, messageNametag}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user