mirror of
https://github.com/status-im/snt-gas-relay.git
synced 2025-02-05 19:13:39 +00:00
fix inconsistent modifier
This commit is contained in:
parent
accd832bf3
commit
dc6239546b
@ -56,8 +56,8 @@ contract Identity is ERC725, ERC735 {
|
||||
|
||||
modifier managerOrActor(bytes32 _key) {
|
||||
require(
|
||||
isKeyPurpose(bytes32(msg.sender), MANAGEMENT_KEY) ||
|
||||
isKeyPurpose(bytes32(msg.sender), ACTION_KEY)
|
||||
isKeyPurpose(_key, MANAGEMENT_KEY) ||
|
||||
isKeyPurpose(_key, ACTION_KEY)
|
||||
);
|
||||
_;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user