mirror of
https://github.com/Instadapp/dsa-governance.git
synced 2024-07-29 22:27:52 +00:00
Update TokenDelegator.sol
This commit is contained in:
parent
fa3e5b0c0f
commit
a7399631d8
|
@ -37,7 +37,7 @@ contract TokenDelegator is TokenDelegatorStorage, TokenEvents {
|
|||
*/
|
||||
function _setImplementation(address implementation_) external isMaster {
|
||||
require(implementation_ != address(0), "TokenDelegator::_setImplementation: invalid implementation address");
|
||||
require(block.timestamp >=changeImplementationAfter, "TokenDelegator::_setImplementation: can change implementation changeImplementationAfter time only");
|
||||
require(block.timestamp >= changeImplementationAfter, "TokenDelegator::_setImplementation: can change implementation changeImplementationAfter time only");
|
||||
|
||||
address oldImplementation = implementation;
|
||||
implementation = implementation_;
|
||||
|
|
Loading…
Reference in New Issue
Block a user