mirror of
git://holbrook.no/eth-contract-registry
synced 2024-12-22 04:17:32 +01:00
Remove solidity compile warnings
This commit is contained in:
parent
0985321014
commit
29494b4366
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = eth-contract-registry
|
||||
version = 0.9.1
|
||||
version = 0.9.2
|
||||
description = Ethereum Smart Contract key-value registry
|
||||
author = Louis Holbrook
|
||||
author_email = dev@holbrook.no
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user