From 89bcc351638d5dc0ef2d2808687bdc8141a0786b Mon Sep 17 00:00:00 2001 From: Ricardo Guilherme Schmidt <3esmit@gmail.com> Date: Wed, 21 Feb 2018 19:23:41 -0300 Subject: [PATCH] remove self from modifier --- 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 13c5357..e1af773 100644 --- a/contracts/identity/Identity.sol +++ b/contracts/identity/Identity.sol @@ -51,8 +51,7 @@ contract Identity is ERC725, ERC735 { modifier managerOrActor { require(keys[keccak256(bytes32(msg.sender), MANAGEMENT_KEY)].purpose == MANAGEMENT_KEY - || keys[keccak256(bytes32(msg.sender), ACTION_KEY)].purpose == ACTION_KEY - || msg.sender == address(this)); + || keys[keccak256(bytes32(msg.sender), ACTION_KEY)].purpose == ACTION_KEY)); _; }