mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
change timelock while changing admin
This commit is contained in:
parent
e9a304ba9f
commit
60bf8a6e0e
|
@ -359,6 +359,9 @@ contract InstaGovernorBravoDelegate is GovernorBravoDelegateStorageV1, GovernorB
|
||||||
|
|
||||||
// Store admin with value pendingAdmin
|
// Store admin with value pendingAdmin
|
||||||
admin = pendingAdmin;
|
admin = pendingAdmin;
|
||||||
|
// Store timelock with value pendingAdmin
|
||||||
|
emit NewTimelock(timelock, pendingAdmin);
|
||||||
|
timelock = pendingAdmin;
|
||||||
|
|
||||||
// Clear the pending value
|
// Clear the pending value
|
||||||
pendingAdmin = address(0);
|
pendingAdmin = address(0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user