Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 1db4604

Browse files
authored
ATA: update token dependency comments (#2415)
1 parent a036953 commit 1db4604

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

associated-token-account/program/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ pub fn create_associated_token_account(
8383
spl_token_mint_address,
8484
);
8585

86-
// TODO: Remove after ATA 1.0.4 and Token 3.2.0 are released (Token::InitializeAccount3 is required if rent account is not provided)
86+
// TODO: Remove after ATA 1.0.4 and Token >3.2.0 are released (Token::InitializeAccount3 is required if rent account is not provided)
8787
instruction
8888
.accounts
8989
.push(AccountMeta::new_readonly(sysvar::rent::id(), false));

associated-token-account/program/src/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub fn process_create_associated_token_account(
5151
let spl_token_program_info = next_account_info(account_info_iter)?;
5252
let spl_token_program_id = spl_token_program_info.key;
5353

54-
// TODO: Remove after ATA 1.0.4 and Token 3.2.0 are released and just use Rent::get()
54+
// TODO: Remove after ATA 1.0.4 and Token >3.2.0 are released and just use Rent::get()
5555
let (rent_sysvar_info, rent) = next_account_info(account_info_iter)
5656
.map(|info| (Some(info), Rent::from_account_info(info).unwrap()))
5757
.unwrap_or((None, Rent::get().unwrap()));

associated-token-account/program/tests/program_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub fn program_test(token_mint_address: Pubkey, use_latest_spl_token: bool) -> P
1212
);
1313

1414
if use_latest_spl_token {
15-
// TODO: Remove after Token 3.2.0 is released
15+
// TODO: Remove after Token >3.2.0 is released
1616
pc.add_program(
1717
"spl_token",
1818
spl_token::id(),

0 commit comments

Comments
 (0)