Revert registry interface id

This commit is contained in:
lash
2023-03-25 14:45:46 +00:00
parent 695c8afd78
commit c1d95613e9
3 changed files with 4 additions and 4 deletions

View File

@@ -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