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 and KorbinianK committed Sep 28, 2023
1 parent 0e638f5 commit b2f607c
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 b2f607c

Please sign in to comment.