mirror of
git://holbrook.no/eth-contract-registry
synced 2026-05-24 20:26:18 +02:00
Remove solidity compile warnings
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user