Skip to content

Commit

Permalink
run npm run format
Browse files Browse the repository at this point in the history
  • Loading branch information
montyly committed Feb 23, 2024
1 parent 0be1276 commit 756ddc8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Solana allows programs to inspect other instructions in the transaction using th

## Exploit Scenario


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.

```rust
Expand Down

0 comments on commit 756ddc8

Please sign in to comment.