Skip to content

Commit 11277cd

Browse files
rev. transfersdk
1 parent 74b8361 commit 11277cd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

programs/compressed-token/src/process_transfer.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -838,11 +838,9 @@ pub mod transfer_sdk {
838838
system_program: solana_sdk::system_program::ID,
839839
};
840840

841-
let mut all_accounts = [accounts.to_account_metas(Some(true)), remaining_accounts].concat();
842-
all_accounts.push(AccountMeta::new(mint, false));
843841
Ok(Instruction {
844842
program_id: crate::ID,
845-
accounts: all_accounts,
843+
accounts: [accounts.to_account_metas(Some(true)), remaining_accounts].concat(),
846844
data: instruction_data,
847845
})
848846
}

0 commit comments

Comments
 (0)