瀏覽代碼

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

Co-authored-by: Francisco <fg@frang.io>
Ownerless Inc 2 年之前
父節點
當前提交
1523a4f071
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.
      *
      * Emits a {Transfer} event with `to` set to the zero address.