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

Commit 4ddd6c8

Browse files
committed
Permit new token accounts to be overallocated
1 parent ccebd8d commit 4ddd6c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

token/program-2022/src/processor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ impl Processor {
140140
let required_extensions =
141141
Self::get_required_account_extensions_from_unpacked_mint(mint_info.owner, &mint)?;
142142
if ExtensionType::get_account_len::<Account>(&required_extensions)
143-
!= new_account_info_data_len
143+
> new_account_info_data_len
144144
{
145145
return Err(ProgramError::InvalidAccountData);
146146
}

0 commit comments

Comments
 (0)