Skip to content

Commit

Permalink
last comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnewnami committed Nov 14, 2023
1 parent 039065a commit db47f82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/root/RootERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ contract RootERC20Bridge is
*/
receive() external payable {
// Revert if sender is not the WETH token address
// Or the WETH contract is not set (contract not initialized)
// Or the rootWETHToken is not set (contract not initialized)
if (msg.sender != rootWETHToken || rootWETHToken == address(0)) {
revert NonWrappedNativeTransfer();
}
Expand Down

0 comments on commit db47f82

Please sign in to comment.