mirror of
https://github.com/status-im/snt-gas-relay.git
synced 2025-02-05 19:13:39 +00:00
initialize first key as manager and action purpose
This commit is contained in:
parent
e76dfe33ab
commit
e373ef3885
@ -440,6 +440,7 @@ contract Identity is ERC725, ERC735 {
|
||||
require(keysByPurpose[MANAGEMENT_KEY].length == 0);
|
||||
require(purposeThreshold[MANAGEMENT_KEY] == 0);
|
||||
_addKey(bytes32(_manager), MANAGEMENT_KEY, 0);
|
||||
_addKey(bytes32(_manager), ACTION_KEY, 0);
|
||||
|
||||
purposeThreshold[MANAGEMENT_KEY] = 1;
|
||||
purposeThreshold[ACTION_KEY] = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user