Skip to content

Commit

Permalink
✨ small warning fix in visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazebr committed Dec 22, 2023
1 parent a1833f3 commit 136f892
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/contracts/src/RegistryGardens.sol
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ contract RegistryGardens is ReentrancyGuard {
enabledStrategies[_newStrategy] = true;
emit StrategyAdded(_newStrategy);
}
function revertZeroAddress(address _address) internal {
function revertZeroAddress(address _address) internal pure {
if(_address == address(0)) revert AddressCannotBeZero();
}
function removeStrategy(address _strategy) public onlyCouncilMember{
Expand Down
2 changes: 1 addition & 1 deletion pkg/contracts/test/RegistryTest.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ contract RegistryTest is Test, AlloSetup, RegistrySetupFull, Native, Errors, Gas
registryGardens = RegistryGardens(registryFactory.createRegistry(params));
}

function _registryGardens() internal returns (RegistryGardens) {
function _registryGardens() internal view returns (RegistryGardens) {
return registryGardens;
}

Expand Down

0 comments on commit 136f892

Please sign in to comment.