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 and jeffwashington committed Mar 4, 2022
1 parent 3cdbabb commit a0855bb
Showing 1 changed file with 247 additions and 78 deletions.
Loading

0 comments on commit a0855bb

Please sign in to comment.