From 6856a399dd8acb65cc7f82c2ed1621d4d4b44dbf Mon Sep 17 00:00:00 2001 From: Shihao Xia Date: Mon, 12 Sep 2022 01:42:26 -0400 Subject: [PATCH] fix missing event --- Token.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/Token.sol b/Token.sol index c883f2c..36d69fc 100644 --- a/Token.sol +++ b/Token.sol @@ -26,6 +26,7 @@ contract Token { decimals = _decimals; totalSupply = _totalSupply; balanceOf[msg.sender] = totalSupply; + emit Transfer(address(0), msg.sender, totalSupply); } /// @notice transfer amount of tokens to an address