mirror of
https://github.com/Instadapp/yield-contract.git
synced 2024-07-29 21:47:29 +00:00
Changed to isMaster for updatePoolLogic
This commit is contained in:
parent
35d7c9e345
commit
3dea5e8cb0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user