Skip to content

Commit

Permalink
Update TRC-005.md (#10)
Browse files Browse the repository at this point in the history
There need to be a "_;" and can not use same Identifier.
  • Loading branch information
Mz1z authored May 22, 2024
1 parent e979de2 commit 63c3dfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/TRC-005.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ To hide the status of a privileged address, set it to an unreadable address, or
## Risk Pattern

```solidity
modifier superman() {
address superman;
modifier Superman() {
require(superman == _msgSender(), );
_;
}
```

Expand Down

0 comments on commit 63c3dfb

Please sign in to comment.