solana/runtime
Alexander Meißner d6ff50bcc1
Remove `KeyedAccount` in builtin program "system instruction processor" (#24452)
* Makes sure that there is only one KeyedAccount at a time.
Moves keyed_account_at_index() into create_account(), transfer_verified(), transfer() and transfer_with_seed() to do so.

* Uses transaction_context.get_key_of_account_at_index() when only the key is needed.

* Uses "!instruction_context.is_signer()" instead of ".signer_key().is_none()".

* Replaces KeyedAccount by BorrowedAccount.

* Removes unused code.
2022-04-19 09:28:07 +02:00
..
benches Ran cargo fmt 2022-04-18 11:57:40 -05:00
src Remove `KeyedAccount` in builtin program "system instruction processor" (#24452) 2022-04-19 09:28:07 +02:00
store-tool Bump version to v1.11 (#23807) 2022-03-21 17:40:50 -05:00
tests Reformat imports to a consistent style for imports 2021-12-03 09:19:13 -08:00
.gitignore
Cargo.toml chore: bump flate2 from 1.0.22 to 1.0.23 (#24460) 2022-04-18 23:50:17 -06:00
build.rs