Closed bamdadam closed 2 years ago
Hello i've been trying to write a staking program and i need to freeze an nft. i delegate it to a pda before trying to freeze it my stake context: delegate context: making freeze instruction: and invoking it: i've tried numerous ways and checked cardinals and candy machines freeze_delegated_nft but whatever i do i keep getting: can anyone tell me what im doing wrong? Thanks in advance.
Why is the spl_program account commented out in the account_infos
slice? Uncomment that and it should work.
hey sorry for the late reply, so i did as you suggested and it didn't work. got the same error message as before
@samuelvanderwaal hey , can you check this out again whenever you have time?
@metaplex-foundation can anyone take a look at this?
nvm found the issue
Hello i've been trying to write a staking program and i need to freeze an nft. i delegate it to a pda before trying to freeze it my stake context: delegate context: making freeze instruction: and invoking it: i've tried numerous ways and checked cardinals and candy machines freeze_delegated_nft but whatever i do i keep getting: can anyone tell me what im doing wrong? Thanks in advance.