Skip to content

Commit

Permalink
Switch public library method to internal
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog committed Nov 30, 2024
1 parent 1a3806c commit 994efa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LibBytes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pragma solidity ^0.8.15;

library LibBytes {
function keccak(bytes memory data, uint256 offset, uint256 length) public pure returns (bytes32 result) {
function keccak(bytes memory data, uint256 offset, uint256 length) internal pure returns (bytes32 result) {
assembly {
result := keccak256(add(data, add(32, offset)), length)
}
Expand Down

0 comments on commit 994efa2

Please sign in to comment.