Browse Source

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

Co-authored-by: Francisco <fg@frang.io>
Ownerless Inc 2 years ago
parent
commit
1523a4f071
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/token/ERC20/ERC20.sol

+ 1 - 1
contracts/token/ERC20/ERC20.sol

@@ -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.
      * Relies on the `_update` mechanism.
      *
      *
      * Emits a {Transfer} event with `to` set to the zero address.
      * Emits a {Transfer} event with `to` set to the zero address.