So I'm trying to define a function that carries out transfers of two different SPL tokens for a user. To do so, I need to pass the user's associated token accounts of both tokens into a function - however, in doing so, I face the following error:
"Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: Program failed to complete."
The function currently has no other logic, I've isolated the bug to simply passing these two ATAs in conjunction. Passing either one of them individually does not lead to this error. Any ideas on what may be going wrong?