Fix check failure on (#22202)

This commit is contained in:
Yueh-Hsuan Chiang 2021-12-30 23:48:26 -10:00 committed by GitHub
parent f479ab7af2
commit 94a9b712b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -1674,7 +1674,8 @@ mod tests {
.iter()
.enumerate()
.map(|(account_index, account_meta)| InstructionAccount {
index: account_index,
index_in_transaction: account_index,
index_in_caller: 1 + account_index,
is_signer: account_meta.is_signer,
is_writable: account_meta.is_writable,
})