Skip to content

Commit a3670f1

Browse files
committed
Mock supportsInterface can be pure
1 parent 444ec4e commit a3670f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contracts/mocks/ERC20Mock.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ contract ERC20 is IERC20, IERC165 {
191191
* @param interfaceID The ERC-165 interface ID that is queried for support.
192192
* @return Whether ERC-165 or ERC-20 interfaces are supported.
193193
*/
194-
function supportsInterface(bytes4 interfaceID) public override view returns (bool) {
194+
function supportsInterface(bytes4 interfaceID) public override pure returns (bool) {
195195
return interfaceID == type(IERC165).interfaceId || interfaceID == type(IERC20).interfaceId;
196196
}
197197

0 commit comments

Comments
 (0)