We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d8448b commit 05688a1Copy full SHA for 05688a1
motoko/icrc2-swap/test/swap/agent.ts
@@ -57,9 +57,9 @@ export function createActor<T>(
57
});
58
}
59
60
-// Ask dfx where the the replica is running. This is a total hack to work
61
-// around `dfx start` launching on a random port each time.
62
-const dfxPort = execSync("dfx info replica-port", { encoding: "utf-8" });
+// 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 webserver-port", { encoding: "utf-8" });
63
64
export function agent(identity?: Identity) {
65
const a = new HttpAgent({
0 commit comments