Skip to content

Commit

Permalink
add :any keyword to fix candy machine freeze bug (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
ape16z authored Nov 29, 2022
1 parent b24b306 commit 13dabda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/candy-machine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ export const getFreezePdaState = async (
freezePda: anchor.web3.PublicKey
): Promise<any> => {
try {
const state = await program.account.freeze.fetch(freezePda);
const state: any = await program.account.freezePda.fetch(freezePda);
return state;
} catch (error) {
return null;
Expand Down

1 comment on commit 13dabda

@vercel
Copy link

@vercel vercel bot commented on 13dabda Nov 29, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

candy-machine-ui – ./

candy-machine-ui.vercel.app
candy-machine-ui-git-main-metaplex.vercel.app
candy-machine-ui-metaplex.vercel.app

Please sign in to comment.