From ca5f7e153376a44d93b099a69de8ac2dfc7cc6ad Mon Sep 17 00:00:00 2001 From: vladbochok Date: Fri, 3 May 2024 10:38:50 +0200 Subject: [PATCH] Address wrong comment --- l1-contracts/contracts/bridge/L1SharedBridge.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l1-contracts/contracts/bridge/L1SharedBridge.sol b/l1-contracts/contracts/bridge/L1SharedBridge.sol index 899ba1868..fa10e8e7f 100644 --- a/l1-contracts/contracts/bridge/L1SharedBridge.sol +++ b/l1-contracts/contracts/bridge/L1SharedBridge.sol @@ -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"); }