Skip to content

Commit

Permalink
misc: _handleCall changed to pure
Browse files Browse the repository at this point in the history
  • Loading branch information
vicnaum committed Jan 18, 2025
1 parent f458e57 commit f0128a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/core/libraries/CallLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ library CallLib {
return handledsafecall(target, 0, data);
}

function _handleCall(bool callSucceeded, bytes memory returnData) private returns (bytes memory) {
function _handleCall(bool callSucceeded, bytes memory returnData) private pure returns (bytes memory) {
if (!callSucceeded) {
assembly {
// Get the length of the return data, which contains the error message or selector, as the call failed
Expand Down

0 comments on commit f0128a6

Please sign in to comment.