Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arlosiggio authored Jul 28, 2023
1 parent 5fa8eeb commit 2575279
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/vulnerabilities/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ The `format!` macro is used to create a String from a given set of arguments. Th
We classified this issue, a deviation from best practices which could have
security implications, under the [Validations and error handling](#vulnerability-categories) category and assigned it an Enhancement severity.

### 18 - Unprotected seld destruct
### 18 - Unprotected self destruct

If users are allowed to call `terminate_contract`, they can intentionally or accidentally destroy the contract, leading to the loss of all associated data and functionalities given by this contract or by others that depend on it. To prevent this, the function should be restricted to administrators or authorized users only.

Expand Down Expand Up @@ -335,4 +335,4 @@ Modifying mappings with an arbitrary key given by the user could lead to uninten
This vulnerability falls under the [Validations and error handling](#vulnerability-categories) category
and has a Critical severity.

Check the following [documentation](22-unprotected-mapping-operation.md) for a more detailed explanation of this vulnerability class.
Check the following [documentation](22-unprotected-mapping-operation.md) for a more detailed explanation of this vulnerability class.

0 comments on commit 2575279

Please sign in to comment.