diff --git a/app/providers/anchor.tsx b/app/providers/anchor.tsx index f9dc1cbe..9f9b04e4 100644 --- a/app/providers/anchor.tsx +++ b/app/providers/anchor.tsx @@ -112,9 +112,10 @@ function useIdlFromAnchorProgramSeed(programAddress: string, url: string): Idl | } export function useAnchorProgram(programAddress: string, url: string): { program: Program | null; idl: Idl | null } { - const idlFromBinary = useIdlFromSolanaProgramBinary(programAddress); + // TODO(ngundotra): Rewrite this to be more efficient + // const idlFromBinary = useIdlFromSolanaProgramBinary(programAddress); const idlFromAnchorProgram = useIdlFromAnchorProgramSeed(programAddress, url); - const idl = idlFromBinary ?? idlFromAnchorProgram; + const idl = idlFromAnchorProgram; const program: Program | null = useMemo(() => { if (!idl) return null; try {