Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug in kinobi-generated rust client code for Create and CreateV1 instructions #140

Open
billythedummy opened this issue Sep 8, 2024 · 0 comments

Comments

@billythedummy
Copy link
Contributor

Have not dug too deeply but this:

if let Some(spl_token_program) = self.spl_token_program {
accounts.push(solana_program::instruction::AccountMeta::new_readonly(
spl_token_program,
false,
));
} else {
accounts.push(solana_program::instruction::AccountMeta::new_readonly(
crate::MPL_TOKEN_METADATA_ID,
false,
));
}

doesn't look correct, shouldn't the default spl_token_program account for the instruction be spl_token::ID instead of crate::MPL_TOKEN_METADATA_ID?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant