From f77848f39a643d4c7ecd5cba210c817d0ce8883f Mon Sep 17 00:00:00 2001 From: tre Date: Mon, 18 Nov 2024 16:01:07 -0800 Subject: [PATCH] make sendETH external --- protocol/interoperable-ether-transfers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/interoperable-ether-transfers.md b/protocol/interoperable-ether-transfers.md index d3260f5b..097c6ec4 100644 --- a/protocol/interoperable-ether-transfers.md +++ b/protocol/interoperable-ether-transfers.md @@ -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()) {