From 90c0ac6e66b503131d693924842b18c353df46e7 Mon Sep 17 00:00:00 2001 From: Kirill Date: Wed, 24 May 2023 16:00:09 -0700 Subject: [PATCH] add missing override --- contracts/resolver/ZNSAddressResolver.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/resolver/ZNSAddressResolver.sol b/contracts/resolver/ZNSAddressResolver.sol index cf69de264..c2c6dbc64 100644 --- a/contracts/resolver/ZNSAddressResolver.sol +++ b/contracts/resolver/ZNSAddressResolver.sol @@ -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"