From 73850a463f78980a3c24dd31790aaddc57ceea05 Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Fri, 23 Feb 2018 14:17:57 -0300 Subject: [PATCH] manager should use execute method --- contracts/identity/Identity.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/identity/Identity.sol b/contracts/identity/Identity.sol index 6202706..4ff0058 100644 --- a/contracts/identity/Identity.sol +++ b/contracts/identity/Identity.sol @@ -191,8 +191,7 @@ contract Identity is ERC725, ERC735 { require( msg.sender == c.issuer || - msg.sender == address(this) || - isKeyType(bytes32(msg.sender), MANAGEMENT_KEY) + msg.sender == address(this) ); // MUST only be done by the issuer of the claim, or KEYS OF PURPOSE 1, or the identity itself.