From 9d058bff1182c1bb7e9edfd0401919889597f1e8 Mon Sep 17 00:00:00 2001 From: Rishabh Sharma Date: Tue, 29 Aug 2023 15:43:02 +0530 Subject: [PATCH] fix : updated constant format --- .../contracts/OperatorFilterSubscription.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/dependency-operator-filter/contracts/OperatorFilterSubscription.sol b/packages/dependency-operator-filter/contracts/OperatorFilterSubscription.sol index 622f1df24b..4e192c87af 100644 --- a/packages/dependency-operator-filter/contracts/OperatorFilterSubscription.sol +++ b/packages/dependency-operator-filter/contracts/OperatorFilterSubscription.sol @@ -11,13 +11,13 @@ contract OperatorFilterSubscription is Ownable { address public constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); // solhint-disable-next-line const-name-snakecase - IOperatorFilterRegistry public constant operatorFilterRegistry = + IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor() Ownable() { // Subscribe and copy the entries of the Default subscription list of open sea. - if (address(operatorFilterRegistry).code.length > 0) { - operatorFilterRegistry.registerAndCopyEntries(address(this), DEFAULT_SUBSCRIPTION); + if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { + OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), DEFAULT_SUBSCRIPTION); } } }