remove `uint256 _purpose` from `getKey` in ERC725

This commit is contained in:
Ricardo Guilherme Schmidt 2018-05-13 18:09:20 -03:00
parent 26a506383a
commit 79bad75e54
2 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,7 @@ contract ERC725 {
function approve(uint256 _id, bool _approve) public returns (bool success);
function addKey(bytes32 _key, uint256 _purpose, uint256 _keyType) public returns (bool success);
function removeKey(bytes32 _key, uint256 _purpose) public returns (bool success);
function getKey(bytes32 _key, uint256 _purpose) public view returns(uint256[] purposes, uint256 keyType, bytes32 key);
function getKey(bytes32 _key) public view returns(uint256[] purposes, uint256 keyType, bytes32 key);
function getKeyPurpose(bytes32 _key) public view returns(uint256[] purpose);
function getKeysByPurpose(uint256 _purpose) public view returns(bytes32[] keys);
function keyHasPurpose(bytes32 _key, uint256 purpose) public view returns(bool exists);

View File

@ -412,8 +412,7 @@ contract Identity is ERC725, ERC735, MessageSigned {
////////////////
function getKey(
bytes32 _key,
uint256 _purpose
bytes32 _key
)
public
view