Fix accuracy of docs for ERC20._burn (#4574)

Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
Ownerless Inc
2023-09-04 18:05:42 -03:00
committed by GitHub
parent e7ba2f7784
commit 1523a4f071

View File

@ -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.