update comment

Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
microwavedcola1 2022-08-06 13:36:21 +02:00
parent 59d28c97a1
commit 6f5f53c1d8
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ pub fn flash_loan_begin<'key, 'accounts, 'remaining, 'info>(
MangoError::SomeError
);
// check that the same vaults are passed
// check that the same vaults and token accounts are passed
let begin_accounts = &ctx.remaining_accounts[num_loans..];
let end_accounts = &ix.accounts[ix.accounts.len() - 2 * num_loans..];
for (begin_account, end_account) in begin_accounts.iter().zip(end_accounts.iter()) {