From 3dea5e8cb09db12ae9a90e938a98057f3cabebb0 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Tue, 25 Aug 2020 19:48:32 +0530 Subject: [PATCH] Changed to isMaster for updatePoolLogic --- contracts/registry.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/registry.sol b/contracts/registry.sol index ba5031c..3822ea9 100644 --- a/contracts/registry.sol +++ b/contracts/registry.sol @@ -117,7 +117,7 @@ contract Registry { emit LogUpdatePoolCap(_pool, _newCap); } - function updatePoolLogic(address _pool, address _newLogic) external isChief { + function updatePoolLogic(address _pool, address _newLogic) external isMaster { require(isPool[_pool], "not-pool"); require(_newLogic != address(0), "invalid-address"); poolLogic[_pool] = _newLogic;