Skip to content

Commit

Permalink
fix app bug
Browse files Browse the repository at this point in the history
  • Loading branch information
yimingWOW committed Jan 11, 2025
1 parent 4cc2642 commit bf08166
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/utils/createAmm.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as anchor from '@coral-xyz/anchor';
import { Connection, PublicKey, SystemProgram } from '@solana/web3.js';
import fallIdl from '../idl/fall.json';
import { Idl } from '@coral-xyz/anchor';

export async function createAmm(
wallet: any,
Expand All @@ -15,7 +16,7 @@ export async function createAmm(
);

const program = new anchor.Program(
fallIdl,
(fallIdl as any) as Idl,
provider
);

Expand Down

0 comments on commit bf08166

Please sign in to comment.