Skip to content

Commit

Permalink
replica-port
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Sep 17, 2024
1 parent 4b35d28 commit cca6caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions motoko/icrc2-swap/test/swap/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ export function createActor<T>(
});
}

// Ask dfx where the the replica is running. This is a total hack to work
// Ask dfx where the the webserver is running. This is a total hack to work
// around `dfx start --pocketic` launching on a random port each time.
const dfxPort = execSync("dfx info replica-port", { encoding: "utf-8" });
const dfxPort = execSync("dfx info webserver-port", { encoding: "utf-8" });

export function agent(identity?: Identity) {
const a = new HttpAgent({
Expand Down

0 comments on commit cca6caf

Please sign in to comment.