From 2022fc335fb1199f3e14dcf0f376ab5c3615013a Mon Sep 17 00:00:00 2001 From: GitHubPang <61439577+GitHubPang@users.noreply.github.com> Date: Mon, 5 Sep 2022 15:34:42 +0800 Subject: [PATCH] Fix typos (#3677) --- contracts/utils/introspection/ERC165Checker.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/utils/introspection/ERC165Checker.sol b/contracts/utils/introspection/ERC165Checker.sol index 945da499a7b..f7cb5e8cf85 100644 --- a/contracts/utils/introspection/ERC165Checker.sol +++ b/contracts/utils/introspection/ERC165Checker.sol @@ -17,7 +17,7 @@ library ERC165Checker { bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff; /** - * @dev Returns true if `account` supports the {IERC165} interface, + * @dev Returns true if `account` supports the {IERC165} interface. */ function supportsERC165(address account) internal view returns (bool) { // Any contract that implements ERC165 must explicitly indicate support of @@ -82,7 +82,7 @@ library ERC165Checker { return false; } - // query support of each interface in _interfaceIds + // query support of each interface in interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { if (!supportsERC165InterfaceUnchecked(account, interfaceIds[i])) { return false;