Skip to content

Commit

Permalink
default to normal mainnet beta cluster when no rpc url provided
Browse files Browse the repository at this point in the history
  • Loading branch information
ngundotra committed Feb 1, 2025
1 parent 563c169 commit 754bf30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/utils/testHarness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { TransactionMessage } from "@solana/web3.js";
import { SystemProgram } from "@solana/web3.js";

function startProxy() {
const rpcUrl = process.env.RPC_URL!;
const rpcUrl = process.env.RPC_URL! ?? "https://api.mainnet-beta.solana.com";

// Store callback in a mutable variable
let simulationCallback: (tx: VersionedTransaction, simulationResult: any) => Promise<any> = () => Promise.resolve();
Expand Down

0 comments on commit 754bf30

Please sign in to comment.