Skip to content

Commit 38b0d9b

Browse files
authored
fix(evm): L01 - Update function from public to external (#827)
Signed-off-by: Chris Maree <[email protected]>
1 parent 155839e commit 38b0d9b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

contracts/SpokePool.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ abstract contract SpokePool is
12621262
* @param l2TokenAddress Address of the L2 token to claim refunds for.
12631263
* @param refundAddress Address to send the refund to.
12641264
*/
1265-
function claimRelayerRefund(bytes32 l2TokenAddress, bytes32 refundAddress) public {
1265+
function claimRelayerRefund(bytes32 l2TokenAddress, bytes32 refundAddress) external {
12661266
uint256 refund = relayerRefund[l2TokenAddress.toAddress()][msg.sender];
12671267
if (refund == 0) revert NoRelayerRefundToClaim();
12681268
relayerRefund[l2TokenAddress.toAddress()][msg.sender] = 0;

contracts/interfaces/V3SpokePoolInterface.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ interface V3SpokePoolInterface {
259259
bytes32[] calldata proof
260260
) external;
261261

262+
function claimRelayerRefund(bytes32 l2TokenAddress, bytes32 refundAddress) external;
263+
262264
/**************************************
263265
* ERRORS *
264266
**************************************/

0 commit comments

Comments
 (0)