From 5b2de262fd7b4468c146bf7132ee958c97c988a6 Mon Sep 17 00:00:00 2001 From: Mick de Graaf Date: Thu, 31 Oct 2019 23:57:38 +0100 Subject: [PATCH] Made _burn internal instead of private (#1908) --- contracts/token/ERC777/ERC777.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/token/ERC777/ERC777.sol b/contracts/token/ERC777/ERC777.sol index 293ebac9b..fcfd87820 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");