Fix typos (#3677)
This commit is contained in:
@ -17,7 +17,7 @@ library ERC165Checker {
|
|||||||
bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;
|
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) {
|
function supportsERC165(address account) internal view returns (bool) {
|
||||||
// Any contract that implements ERC165 must explicitly indicate support of
|
// Any contract that implements ERC165 must explicitly indicate support of
|
||||||
@ -82,7 +82,7 @@ library ERC165Checker {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// query support of each interface in _interfaceIds
|
// query support of each interface in interfaceIds
|
||||||
for (uint256 i = 0; i < interfaceIds.length; i++) {
|
for (uint256 i = 0; i < interfaceIds.length; i++) {
|
||||||
if (!supportsERC165InterfaceUnchecked(account, interfaceIds[i])) {
|
if (!supportsERC165InterfaceUnchecked(account, interfaceIds[i])) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user