Skip to content

Commit

Permalink
public => external
Browse files Browse the repository at this point in the history
Co-authored-by: sunbreak1211 <129470872+sunbreak1211@users.noreply.github.com>
  • Loading branch information
oldchili and sunbreak1211 authored Dec 20, 2023
1 parent 1b01646 commit 8884925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Multicall.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pragma solidity ^0.8.16;

// Enables calling multiple methods in a single call to the contract
abstract contract Multicall {
function multicall(bytes[] calldata data) public returns (bytes[] memory results) {
function multicall(bytes[] calldata data) external returns (bytes[] memory results) {
results = new bytes[](data.length);
for (uint256 i = 0; i < data.length; i++) {
(bool success, bytes memory result) = address(this).delegatecall(data[i]);
Expand Down

0 comments on commit 8884925

Please sign in to comment.