Skip to content

Commit

Permalink
Fix accuracy of docs for ERC20._burn (OpenZeppelin#4574)
Browse files Browse the repository at this point in the history
Co-authored-by: Francisco <[email protected]>
  • Loading branch information
0xneves and frangio authored Sep 4, 2023
1 parent e7ba2f7 commit 1523a4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/token/ERC20/ERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
}

/**
* @dev Destroys a `value` amount of tokens from `account`, by transferring it to address(0).
* @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
* Relies on the `_update` mechanism.
*
* Emits a {Transfer} event with `to` set to the zero address.
Expand Down

0 comments on commit 1523a4f

Please sign in to comment.