Skip to content

Commit 1af964a

Browse files
authored
Update README.md
1 parent 1a63c2c commit 1af964a

File tree

1 file changed

+2
-2
lines changed
  • not-so-smart-contracts/solana/sysvar_account_check

1 file changed

+2
-2
lines changed

not-so-smart-contracts/solana/sysvar_account_check/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ Utilizing the latest Solana version and referencing checked functions, especiall
3939
Leaving the system exposed to any point of failure compromises the entire system's integrity, especially while the contracts are being constantly updated.
4040

4141
Here is the code showing the sysvar account checks added between unchecked and checked functions:
42-
- [load_instruction_at vs load_instruction_at_checked](https://docs.rs/solana-program/1.13.5/src/solana_program/sysvar/instructions.rs.html#186-205)
43-
- [load_current_index vs load_current_index_checked](https://docs.rs/solana-program/1.13.5/src/solana_program/sysvar/instructions.rs.html#107-128)
42+
- [load_instruction_at](https://docs.rs/solana-program/1.13.5/src/solana_program/sysvar/instructions.rs.html#186-188) vs [load_instruction_at_checked](https://docs.rs/solana-program/1.13.5/src/solana_program/sysvar/instructions.rs.html#192-205)
43+
- [load_current_index](https://docs.rs/solana-program/1.13.5/src/solana_program/sysvar/instructions.rs.html#107-112) vs [load_current_index_checked](https://docs.rs/solana-program/1.13.5/src/solana_program/sysvar/instructions.rs.html#116-128)
4444

4545
---
4646
## Example: Wormhole Exploit (February 2022)

0 commit comments

Comments
 (0)