Changed to isMaster for updatePoolLogic

This commit is contained in:
Thrilok Kumar 2020-08-25 19:48:32 +05:30
parent 35d7c9e345
commit 3dea5e8cb0

View File

@ -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;