Skip to content

Commit

Permalink
fix(protocol): Remove duplicated events during mint and burn (#14686)
Browse files Browse the repository at this point in the history
  • Loading branch information
adaki2004 authored Sep 13, 2023
1 parent c60f716 commit 3ff0018
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/protocol/contracts/L1/TaikoToken.sol
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ contract TaikoToken is
override(ERC20Upgradeable, ERC20VotesUpgradeable)
{
super._mint(to, amount);
emit Transfer(address(0), to, amount);
}

function _burn(
Expand All @@ -190,7 +189,6 @@ contract TaikoToken is
override(ERC20Upgradeable, ERC20VotesUpgradeable)
{
super._burn(from, amount);
emit Transfer(from, address(0), amount);
}
}

Expand Down

0 comments on commit 3ff0018

Please sign in to comment.