mirror of
https://github.com/status-im/snt-gas-relay.git
synced 2025-01-14 00:22:27 +00:00
remove self from modifier
This commit is contained in:
parent
3448401247
commit
89bcc35163
@ -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));
|
||||
_;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user