Fix typo in processor.rs (#23786)

relavant -> relevant
This commit is contained in:
Ikko Ashimine 2022-03-20 05:24:40 +09:00 committed by GitHub
parent df29276eb0
commit 848093b9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -421,7 +421,7 @@ fn process_instruction(
&[(accounts[FROM_INDEX].key, true, true)],
vec![RETURN_OK],
);
// put the relavant account at the end of a larger account list
// put the relevant account at the end of a larger account list
let mut reordered_accounts = accounts.to_vec();
let account_info = reordered_accounts.remove(FROM_INDEX);
reordered_accounts.push(accounts[0].clone());