remove self from modifier

This commit is contained in:
Ricardo Guilherme Schmidt 2018-02-21 19:23:41 -03:00
parent 3448401247
commit 89bcc35163
1 changed files with 1 additions and 2 deletions

View File

@ -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));
_;
}