mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
Update contracts/payloads/IGP7/PayloadIGP7.sol
Co-authored-by: bergben <bergben@tutanota.com>
This commit is contained in:
parent
cf107a56ba
commit
55a96e9229
|
@ -162,7 +162,7 @@ contract PayloadIGP7 {
|
||||||
require(GOVERNOR.timelock() == address(TIMELOCK), "Governor-wrong-timelock");
|
require(GOVERNOR.timelock() == address(TIMELOCK), "Governor-wrong-timelock");
|
||||||
|
|
||||||
// Verify 5 : Verify Governor Pending Admin
|
// Verify 5 : Verify Governor Pending Admin
|
||||||
require(GOVERNOR.pendingAdmin() == address(0), "Governor-wrong-timelock");
|
require(GOVERNOR.pendingAdmin() == address(0), "Governor-wrong-pending-admin");
|
||||||
|
|
||||||
// Verify 6 : Verify Old Timelock Admin
|
// Verify 6 : Verify Old Timelock Admin
|
||||||
require(OLD_TIMELOCK.admin() == address(GOVERNOR), "Old-timelock-wrong-admin");
|
require(OLD_TIMELOCK.admin() == address(GOVERNOR), "Old-timelock-wrong-admin");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user