@fuel-ts/account 0.94.7 → 0.94.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,7 +26,6 @@ import { defaultConsensusKey, hexlify as hexlify2, defaultSnapshotConfigs } from
26
26
  import { existsSync, mkdirSync, rmSync, writeFileSync } from "fs";
27
27
  import os from "os";
28
28
  import path from "path";
29
- import { getPortPromise } from "portfinder";
30
29
 
31
30
  // src/signer/signer.ts
32
31
  import { Address } from "@fuel-ts/address";
@@ -219,12 +218,7 @@ var launchNode = async ({
219
218
  const graphQLStartSubstring = "Binding GraphQL provider to";
220
219
  const command = fuelCorePath || "fuel-core";
221
220
  const ipToUse = ip || "0.0.0.0";
222
- const portToUse = port || (await getPortPromise({
223
- port: 4e3,
224
- // tries 4000 first, then 4001, then 4002, etc.
225
- stopPort: 5e3
226
- // don't try ports above 5000
227
- })).toString();
221
+ const portToUse = port || "0";
228
222
  let snapshotDirToUse;
229
223
  const prefix = basePath || os.tmpdir();
230
224
  const suffix = basePath ? "" : randomUUID();