Skip to content

Commit

Permalink
Address wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vladbochok committed May 3, 2024
1 parent dc97b11 commit ca5f7e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l1-contracts/contracts/bridge/L1SharedBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ contract L1SharedBridge is IL1SharedBridge, ReentrancyGuard, Ownable2StepUpgrade
}
}

/// @dev Accepts ether only from the registered state transition manager associated with the specified chain ID.
/// @param _chainId The chain ID corresponding to the state transition manager allowed to send ether.
/// @dev Accepts ether only from the hyperchain associated with the specified chain ID.
/// @param _chainId The chain ID corresponding to the hyperchain allowed to send ether.
function receiveEth(uint256 _chainId) external payable {
require(BRIDGE_HUB.getHyperchain(_chainId) == msg.sender, "receiveEth not state transition");
}
Expand Down

0 comments on commit ca5f7e1

Please sign in to comment.