mirror of
https://github.com/status-im/contracts.git
synced 2025-02-23 12:08:47 +00:00
initialize first key as manager and action purpose
This commit is contained in:
parent
907c29ef25
commit
67a1bb97fe
@ -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