Skip to content

Commit

Permalink
make sendETH external
Browse files Browse the repository at this point in the history
  • Loading branch information
tremarkley committed Nov 19, 2024
1 parent 9948477 commit f77848f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/interoperable-ether-transfers.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ event RelayETH(address indexed from, address indexed to, uint256 amount, uint256
/// @notice Sends ETH to some target address on another chain.
/// @param _to Address to send ETH to.
/// @param _chainId Chain ID of the destination chain.
function sendETH(address _to, uint256 _chainId) public payable returns (bytes32 msgHash_) {
function sendETH(address _to, uint256 _chainId) external payable returns (bytes32 msgHash_) {
if (_to == address(0)) revert ZeroAddress();
if (IL1Block(Predeploys.L1_BLOCK_ATTRIBUTES).isCustomGasToken()) {
Expand Down

0 comments on commit f77848f

Please sign in to comment.