Skip to content

Commit 756ddc8

Browse files
committed
run npm run format
1 parent 0be1276 commit 756ddc8

File tree

1 file changed

+0
-1
lines changed
  • not-so-smart-contracts/solana/improper_instruction_introspection

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ Solana allows programs to inspect other instructions in the transaction using th
44

55
## Exploit Scenario
66

7-
87
A program mints tokens based on the amount of tokens transferred to it. A program checks that `Token::transfer` instruction is called in the first instruction of the transaction. The program uses absolute index `0` to access the instruction data, program id and validates them. If the first instruction is a `Token::transfer` then program mints some tokens.
98

109
```rust

0 commit comments

Comments
 (0)