This commit is contained in:
Hardhat Chad
2025-09-12 14:25:19 -07:00
parent 1db7f95625
commit 67800f18d7

View File

@@ -200,6 +200,7 @@ pub fn swap(
AccountMeta::new_readonly(spl_token::ID, false),
AccountMeta::new_readonly(spl_associated_token_account::ID, false),
AccountMeta::new_readonly(crate::ID, false),
AccountMeta::new_readonly(sysvar::slot_hashes::ID, false),
],
data: Swap {
amount: amount.to_le_bytes(),