diff --git a/src/pairing.ts b/src/pairing.ts index f323690..cd14082 100644 --- a/src/pairing.ts +++ b/src/pairing.ts @@ -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" ); }