瀏覽代碼

Fix comment on ERC777._beforeTokenTransfer (#3982)

Clayton Rabenda 2 年之前
父節點
當前提交
2c69f9f9f5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contracts/token/ERC777/ERC777.sol

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

@@ -498,7 +498,7 @@ contract ERC777 is Context, IERC777, IERC20 {
 
     /**
      * @dev Hook that is called before any token transfer. This includes
-     * calls to {send}, {transfer}, {operatorSend}, minting and burning.
+     * calls to {send}, {transfer}, {operatorSend}, {transferFrom}, minting and burning.
      *
      * Calling conditions:
      *