mirror of https://github.com/waku-org/js-noise.git
fix test
This commit is contained in:
parent
3dbe54b7f1
commit
45bd8d4233
|
@ -73,12 +73,13 @@ export class WakuPairing {
|
|||
|
||||
/**
|
||||
* Convert a QR into a content topic
|
||||
* Must follow - https://github.com/vacp2p/rfc-index/blob/main/waku/informational/23/topics.md
|
||||
* @param qr
|
||||
* @returns content topic string
|
||||
*/
|
||||
private static toContentTopic(qr: QR): string {
|
||||
return (
|
||||
"/" + qr.applicationName + "/" + qr.applicationVersion + "/wakunoise/1/sessions_shard-" + qr.shardId + "/proto"
|
||||
"/" + qr.applicationName + "/" + qr.applicationVersion + "/" + qr.shardId + "/proto"
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue