minor change.

This commit is contained in:
Sowmayjain 2019-03-19 19:37:28 +05:30
parent dddab6ac87
commit 6b9c5e3424

View File

@ -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;