Skip to content

Commit

Permalink
Fix typos (OpenZeppelin#3677)
Browse files Browse the repository at this point in the history
  • Loading branch information
ronhuafeng committed Sep 9, 2022
1 parent bb5db53 commit 1960325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/utils/introspection/ERC165Checker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1960325

Please sign in to comment.