diff --git a/contracts/token/ERC777/ERC777.sol b/contracts/token/ERC777/ERC777.sol index 293ebac9bc2..fcfd87820a9 100644 --- a/contracts/token/ERC777/ERC777.sol +++ b/contracts/token/ERC777/ERC777.sol @@ -377,7 +377,7 @@ contract ERC777 is Context, IERC777, IERC20 { bytes memory data, bytes memory operatorData ) - private + internal { require(from != address(0), "ERC777: burn from the zero address");