From 6b9151de3d93acf5f894823862d4fb7abb2428f1 Mon Sep 17 00:00:00 2001 From: mingda Date: Thu, 30 Jul 2020 01:24:00 +0800 Subject: [PATCH] emit transfer in burn --- contracts/impl/DODOLpToken.sol | 1 + 1 file changed, 1 insertion(+) diff --git a/contracts/impl/DODOLpToken.sol b/contracts/impl/DODOLpToken.sol index e64652c..ece9f6d 100644 --- a/contracts/impl/DODOLpToken.sol +++ b/contracts/impl/DODOLpToken.sol @@ -129,5 +129,6 @@ contract DODOLpToken is Ownable { balances[user] = balances[user].sub(value); totalSupply = totalSupply.sub(value); emit Burn(user, value); + emit Transfer(user, address(0), value); } }