mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
minor change.
This commit is contained in:
parent
dddab6ac87
commit
6b9c5e3424
|
@ -158,7 +158,7 @@ contract UserGuardian is UserAuth {
|
|||
* @param num is the assigned guardian number
|
||||
*/
|
||||
function setOwnerViaGuardian(address nextOwner, uint num) public isGuardianEnabled {
|
||||
require(isGuardian() == true, "not-guardian");
|
||||
require(isGuardian(), "not-guardian");
|
||||
require(msg.sender == guardians[num], "permission-denied");
|
||||
require(block.timestamp > lastActivity.add(activePeriod), "active-period-not-over");
|
||||
owner = nextOwner;
|
||||
|
|
Loading…
Reference in New Issue
Block a user