Remove solidity compile warnings

This commit is contained in:
lash
2023-03-17 22:10:56 +00:00
parent 0985321014
commit 29494b4366
3 changed files with 4 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ contract CICRegistry {
mapping (bytes32 => address) entries; // contractidentifier -> address
mapping (bytes32 => bytes32[]) entryBindings; // contractidentifier -> chainidentifier
constructor(bytes32[] memory _identifiers) public {
constructor(bytes32[] memory _identifiers) {
owner = msg.sender;
for (uint i = 0; i < _identifiers.length; i++) {
identifiers.push(_identifiers[i]);
@@ -43,6 +43,7 @@ contract CICRegistry {
require(entries[_identifier] != address(0));
entryBindings[_identifier].push(_reference);
return true;
}
// Implements EIP 173