We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5d02af commit 4abbbd1Copy full SHA for 4abbbd1
governance/xc_admin/packages/crank_pythnet_relayer/src/index.ts
@@ -41,10 +41,11 @@ const COMMITMENT: Commitment =
41
(process.env.COMMITMENT as Commitment) ?? "confirmed";
42
43
const GUARDIAN_RPC = process.env.GUARDIAN_RPC;
44
+const SOLANA_RPC_URL = process.env.SOLANA_RPC_URL;
45
46
async function run() {
47
const provider = new AnchorProvider(
- new Connection(getPythClusterApiUrl(CLUSTER), COMMITMENT),
48
+ new Connection(SOLANA_RPC_URL ?? getPythClusterApiUrl(CLUSTER), COMMITMENT),
49
new NodeWallet(KEYPAIR),
50
{
51
commitment: COMMITMENT,
0 commit comments