Skip to content

Commit

Permalink
Refactor: Prepare stake_instruction.rs to remove KeyedAccounts (sol…
Browse files Browse the repository at this point in the history
…ana-labs#23375)

* Adds instruction_account_indices to stake instruction.

* Uses instruction_account_indices in stake instruction.

* Replaces get_sysvar_with_account_check by get_sysvar_with_account_check2 in stake instruction.

* Adds check_number_of_instruction_accounts().
  • Loading branch information
Lichtso authored Feb 28, 2022
1 parent fe18ea3 commit ee3fc39
Showing 1 changed file with 247 additions and 78 deletions.
Loading

0 comments on commit ee3fc39

Please sign in to comment.