Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
associated-token: rent sysvar account in account info.
Browse files Browse the repository at this point in the history
  • Loading branch information
parazyd committed Sep 18, 2021
1 parent 455cbe0 commit 21904ce
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/associated_token.rs
Expand Up @@ -51,6 +51,7 @@ pub fn initialize_token_stream(
let recipient_tokens = next_account_info(account_info_iter)?;
let metadata_account = next_account_info(account_info_iter)?;
let escrow_account = next_account_info(account_info_iter)?;
let rent_account = next_account_info(account_info_iter)?;
let mint_account = next_account_info(account_info_iter)?;
let self_program = next_account_info(account_info_iter)?;
let token_program_account = next_account_info(account_info_iter)?;
Expand Down Expand Up @@ -173,6 +174,7 @@ pub fn initialize_token_stream(
)?,
&[
token_program_account.clone(),
rent_account.clone(),
escrow_account.clone(),
mint_account.clone(),
self_program.clone(),
Expand Down

0 comments on commit 21904ce

Please sign in to comment.