diff --git a/project-9-token-lottery/tests/token-lottery.ts b/project-9-token-lottery/tests/token-lottery.ts index fa1f0e7..055c812 100644 --- a/project-9-token-lottery/tests/token-lottery.ts +++ b/project-9-token-lottery/tests/token-lottery.ts @@ -21,7 +21,7 @@ describe("token-lottery", () => { before("Loading switchboard program", async () => { const switchboardIDL = await anchor.Program.fetchIdl( - sb.SB_ON_DEMAND_PID, + sb.ON_DEMAND_MAINNET_PID, // new updated version {connection: new anchor.web3.Connection("https://mainnet.helius-rpc.com/?api-key=792d0c03-a2b0-469e-b4ad-1c3f2308158c")} ); switchboardProgram = new anchor.Program(switchboardIDL, provider);