Change content topic

This commit is contained in:
Franck Royer 2021-08-17 16:20:06 +10:00
parent 9692b4af72
commit 0673edacb5
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import { Message } from './messaging/Messages';
import { bufToHex, equalByteArrays } from 'js-waku/lib/utils';
export const PublicKeyContentTopic = '/eth-pm/1/public-key/proto';
export const DirectMessageContentTopic = '/eth-pm/1/direct-message/proto';
export const DirectMessageContentTopic = '/eth-pm/1/private-message/proto';
export async function initWaku(): Promise<Waku> {
const waku = await Waku.create({ bootstrap: true });