Skip to content

Commit

Permalink
πŸ› Fix visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Philogy committed Aug 26, 2024
1 parent 325f1dc commit 40a45a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libraries/consoleext.sol
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {LibString} from "solady/src/utils/LibString.sol";
library consoleext {
using LibString for uint256;

function logInWords(bytes memory data) public pure {
function logInWords(bytes memory data) internal pure {
for (uint256 i = 0; i < data.length; i += 32) {
uint256 word;
assembly ("memory-safe") {
Expand All @@ -21,7 +21,7 @@ library consoleext {
}
}

function logMemWords(uint256 startOffset, uint256 endOffset) public pure {
function logMemWords(uint256 startOffset, uint256 endOffset) internal pure {
for (uint256 offset = startOffset; offset < endOffset; offset += 32) {
uint256 wordEnd = offset + 32;
if (wordEnd > endOffset) wordEnd = endOffset;
Expand Down

0 comments on commit 40a45a6

Please sign in to comment.