mirror of
git://holbrook.no/eth-contract-registry
synced 2026-05-18 18:35:22 +02:00
Revert registry interface id
This commit is contained in:
@@ -28,7 +28,7 @@ contract ContractRegistry {
|
||||
}
|
||||
}
|
||||
|
||||
// Implements Registry
|
||||
// Assign address to identifier
|
||||
function set(bytes32 _identifier, address _address) public returns (bool) {
|
||||
require(msg.sender == owner);
|
||||
require(entries[_identifier] == address(0));
|
||||
@@ -72,7 +72,7 @@ contract ContractRegistry {
|
||||
|
||||
// Implements ERC165
|
||||
function supportsInterface(bytes4 _sum) public pure returns (bool) {
|
||||
if (_sum == 0xa82606d9) { // Registry
|
||||
if (_sum == 0x12625fe5) { // Registry
|
||||
return true;
|
||||
}
|
||||
if (_sum == 0x01ffc9a7) { // ERC165
|
||||
|
||||
Reference in New Issue
Block a user