Skip to content

Commit

Permalink
rm uneeded todo
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnewnami committed Nov 16, 2023
1 parent 0c8256f commit 4769e05
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/root/RootERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,6 @@ contract RootERC20Bridge is IRootERC20Bridge, IRootERC20BridgeEvents, IRootERC20
address receiver,
uint256 amount
) internal whenNotPaused {
// TODO when withdrawing ETH/WETH, this next section will also need to check for the withdrawal of WETH (i.e. rootToken == NATIVE_ETH || rootToken == CHILD_WETH)
// Tests for this NATIVE_ETH branch not yet written. This should come as part of that PR.
if (rootToken == NATIVE_ETH) {
Address.sendValue(payable(receiver), amount);
emit RootChainETHWithdraw(NATIVE_ETH, childToken, withdrawer, receiver, amount);
Expand Down

0 comments on commit 4769e05

Please sign in to comment.