emit transfer in burn

This commit is contained in:
mingda
2020-07-30 01:24:00 +08:00
parent 5b074c7b14
commit 6b9151de3d

View File

@@ -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);
}
}