Skip to content

Commit

Permalink
fix: import
Browse files Browse the repository at this point in the history
  • Loading branch information
danisharora099 committed Jul 26, 2024
1 parent 29ab27f commit dfabf82
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/tests/src/utils/nodes.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { waitForRemotePeer } from "@waku/core";
import {
DefaultPubsubTopic,
LightNode,
ProtocolCreateOptions,
Protocols,
Expand All @@ -12,7 +11,7 @@ import { isDefined, shardInfoToPubsubTopics } from "@waku/utils";
import { Context } from "mocha";
import pRetry from "p-retry";

import { NOISE_KEY_1 } from "../constants";
import { DefaultTestPubsubTopic, NOISE_KEY_1 } from "../constants";
import { ServiceNodesFleet } from "../lib";
import { Args } from "../types";

Expand All @@ -28,7 +27,7 @@ export async function runMultipleNodes(
): Promise<[ServiceNodesFleet, LightNode]> {
const pubsubTopics = shardInfo
? shardInfoToPubsubTopics(shardInfo)
: [DefaultPubsubTopic];
: [DefaultTestPubsubTopic];
// create numServiceNodes nodes
const serviceNodes = await ServiceNodesFleet.createAndRun(
context,
Expand Down

0 comments on commit dfabf82

Please sign in to comment.