|
@@ -421,8 +421,8 @@ contract ERC777 is Context, IERC777, IERC20 {
|
|
|
require(fromBalance >= amount, "ERC777: burn amount exceeds balance");
|
|
|
unchecked {
|
|
|
_balances[from] = fromBalance - amount;
|
|
|
- _totalSupply -= amount;
|
|
|
}
|
|
|
+ _totalSupply -= amount;
|
|
|
|
|
|
emit Burned(operator, from, amount, data, operatorData);
|
|
|
emit Transfer(from, address(0), amount);
|