Skip to content

Commit

Permalink
fix minor comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tsnewnami committed Nov 14, 2023
1 parent 7b88882 commit 039065a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/child/ChildERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract ChildERC20Bridge is
* @notice Fallback function on recieving native IMX from WIMX contract.
*/
receive() external payable {
// Revert if sender if not the wIMX token address (
// Revert if sender if not the wIMX token address
// Or the wIMXToken is not set (contract not initialized)
if (msg.sender != wIMXToken || wIMXToken == address(0)) {
revert NonWrappedNativeTransfer();
Expand Down
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 wIMXToken is not set (contract not initialized)
// Or the WETH contract is not set (contract not initialized)
if (msg.sender != rootWETHToken || rootWETHToken == address(0)) {
revert NonWrappedNativeTransfer();
}
Expand Down

0 comments on commit 039065a

Please sign in to comment.