mirror of
https://github.com/status-im/snt-gas-relay.git
synced 2025-01-16 01:14:25 +00:00
reduce warnings
This commit is contained in:
parent
dc6239546b
commit
bf51e76c9c
@ -43,7 +43,8 @@ contract Identity is ERC725, ERC735 {
|
||||
|
||||
modifier recoveryOnly {
|
||||
require(
|
||||
(recoveryContract != address(0) && msg.sender == address(recoveryContract))
|
||||
recoveryContract != address(0) &&
|
||||
msg.sender == address(recoveryContract)
|
||||
);
|
||||
_;
|
||||
}
|
||||
@ -566,12 +567,12 @@ contract Identity is ERC725, ERC735 {
|
||||
{
|
||||
claims[_claimHash] = Claim(
|
||||
{
|
||||
claimType: _claimType,
|
||||
scheme: _scheme,
|
||||
issuer: _issuer,
|
||||
signature: _signature,
|
||||
data: _data,
|
||||
uri: _uri
|
||||
claimType: _claimType,
|
||||
scheme: _scheme,
|
||||
issuer: _issuer,
|
||||
signature: _signature,
|
||||
data: _data,
|
||||
uri: _uri
|
||||
}
|
||||
);
|
||||
indexes[_claimHash] = claimsByType[_claimType].length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user