Skip to content

Commit

Permalink
add missing override
Browse files Browse the repository at this point in the history
  • Loading branch information
Whytecrowe committed May 24, 2023
1 parent 641300e commit 90c0ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/resolver/ZNSAddressResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ contract ZNSAddressResolver is AccessControlled, ERC165, IZNSAddressResolver {
return type(IZNSAddressResolver).interfaceId;
}

function setRegistry(address _registry) public onlyAdmin {
function setRegistry(address _registry) public override onlyAdmin {
require(
_registry != address(0),
"ZNSAddressResolver: _registry is 0x0 address"
Expand Down

0 comments on commit 90c0ac6

Please sign in to comment.