reduce warnings

This commit is contained in:
Ricardo Guilherme Schmidt 2018-03-21 12:47:12 -03:00
parent 776022d583
commit 8d5046fcb8
1 changed files with 2 additions and 1 deletions

View File

@ -101,10 +101,11 @@ contract Identity is ERC725, ERC735 {
minimumApprovalsByKeyPurpose[MANAGEMENT_KEY] = keysByPurpose[MANAGEMENT_KEY].length; minimumApprovalsByKeyPurpose[MANAGEMENT_KEY] = keysByPurpose[MANAGEMENT_KEY].length;
} }
function processManagerReset(uint256 limit) function processManagerReset(uint256 _limit)
public public
{ {
require(recoveryManager != address(0)); require(recoveryManager != address(0));
uint limit = _limit;
bytes32 newKey = bytes32(recoveryManager); bytes32 newKey = bytes32(recoveryManager);
bytes32[] memory managers = keysByPurpose[MANAGEMENT_KEY]; bytes32[] memory managers = keysByPurpose[MANAGEMENT_KEY];
uint256 totalManagers = managers.length; uint256 totalManagers = managers.length;