Avoid hard coding spl_token id

This commit is contained in:
Michael Vines 2021-09-29 09:56:28 -07:00
parent e3d80c2695
commit abc06eed68
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ pub fn process_create_associated_token_account(
funder_info,
&rent,
spl_token::state::Account::LEN,
&spl_token::id(),
spl_token_program_id,
system_program_info,
associated_token_account_info,
associated_token_account_signer_seeds,