From a30354cbd028ffb7fd79f0345744695ca4f1ec2e Mon Sep 17 00:00:00 2001 From: "fryorcraken.eth" Date: Tue, 1 Nov 2022 19:46:02 +1100 Subject: [PATCH] test: fix ENR test --- packages/core/src/lib/enr/enr.node.spec.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/core/src/lib/enr/enr.node.spec.ts b/packages/core/src/lib/enr/enr.node.spec.ts index 565a6ed805..24b1d3704c 100644 --- a/packages/core/src/lib/enr/enr.node.spec.ts +++ b/packages/core/src/lib/enr/enr.node.spec.ts @@ -1,5 +1,5 @@ -import { createLightNode } from "@waku/create"; -import type { WakuLight } from "@waku/interfaces"; +import { createPrivacyNode } from "@waku/create"; +import type { WakuPrivacy } from "@waku/interfaces"; import { Protocols } from "@waku/interfaces"; import { expect } from "chai"; @@ -9,7 +9,7 @@ import { waitForRemotePeer } from "../wait_for_remote_peer"; import { ENR } from "./enr"; describe("ENR Interop: nwaku", function () { - let waku: WakuLight; + let waku: WakuPrivacy; let nwaku: Nwaku; afterEach(async function () { @@ -28,7 +28,7 @@ describe("ENR Interop: nwaku", function () { }); const multiAddrWithId = await nwaku.getMultiaddrWithId(); - waku = await createLightNode({ + waku = await createPrivacyNode({ staticNoiseKey: NOISE_KEY_1, }); await waku.start(); @@ -60,7 +60,7 @@ describe("ENR Interop: nwaku", function () { }); const multiAddrWithId = await nwaku.getMultiaddrWithId(); - waku = await createLightNode({ + waku = await createPrivacyNode({ staticNoiseKey: NOISE_KEY_1, }); await waku.start(); @@ -92,7 +92,7 @@ describe("ENR Interop: nwaku", function () { }); const multiAddrWithId = await nwaku.getMultiaddrWithId(); - waku = await createLightNode({ + waku = await createPrivacyNode({ staticNoiseKey: NOISE_KEY_1, }); await waku.start();