diff --git a/src/lib/waku.node.spec.ts b/src/lib/waku.node.spec.ts index 76fae32f26..50826acdf3 100644 --- a/src/lib/waku.node.spec.ts +++ b/src/lib/waku.node.spec.ts @@ -58,7 +58,7 @@ describe("Waku Dial [node only]", function () { nwaku = new Nwaku(makeLogFileName(this)); await nwaku.start(); const multiAddrWithId = await nwaku.getMultiaddrWithId(); - + console.log(multiAddrWithId); waku = await createWaku({ staticNoiseKey: NOISE_KEY_1, bootstrap: { peers: [multiAddrWithId] }, diff --git a/src/lib/waku.ts b/src/lib/waku.ts index 2e8e21d558..942cee0372 100644 --- a/src/lib/waku.ts +++ b/src/lib/waku.ts @@ -96,6 +96,7 @@ export async function createWaku(options?: CreateOptions): Promise { streamMuxers: [new Mplex()], pubsub: new WakuRelay(options), connectionEncryption: [new Noise()], + peerDiscovery: peerDiscovery, }, options?.libp2p ?? {} );