mirror of https://github.com/waku-org/js-noise.git
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…
Reference in New Issue