Fix relevant warnings (#3685)

This commit is contained in:
Francisco
2022-09-07 15:56:18 -03:00
committed by GitHub
parent 5d31ad0eb9
commit 3c552e6e03
4 changed files with 33 additions and 33 deletions

View File

@ -5,7 +5,7 @@ pragma solidity ^0.8.0;
import "../../utils/introspection/IERC165.sol";
contract ERC165ReturnBombMock is IERC165 {
function supportsInterface(bytes4 interfaceId) public view override returns (bool) {
function supportsInterface(bytes4 interfaceId) public pure override returns (bool) {
if (interfaceId == type(IERC165).interfaceId) {
assembly {
mstore(0, 1)