Fix compiler warning
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
pragma solidity ^0.8.0;
|
pragma solidity ^0.8.0;
|
||||||
|
|
||||||
contract ERC165MaliciousData {
|
contract ERC165MaliciousData {
|
||||||
function supportsInterface(bytes4) public view returns (bool) {
|
function supportsInterface(bytes4) public pure returns (bool) {
|
||||||
assembly {
|
assembly {
|
||||||
mstore(0, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
|
mstore(0, 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
|
||||||
return(0, 32)
|
return(0, 32)
|
||||||
|
|||||||
Reference in New Issue
Block a user