Skip to content

Commit e84333f

Browse files
Apply suggestions from code review
Co-authored-by: Vittorio Minacori <[email protected]>
1 parent c80f447 commit e84333f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contracts/token/ERC20/extensions/ERC1363.sol

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ abstract contract ERC1363 is ERC20, ERC165, IERC1363 {
116116
* Requirements:
117117
*
118118
* - The target has code (i.e. is a contract).
119-
* - The target `to` must implement the {IERC1363Spender} interface.
119+
* - The target `spender` must implement the {IERC1363Spender} interface.
120120
* - The target must return the {IERC1363Spender-onApprovalReceived} selector to accept the approval.
121121
* - The internal {approve} must succeed (returned `true`).
122122
*/
@@ -172,7 +172,7 @@ abstract contract ERC1363 is ERC20, ERC165, IERC1363 {
172172
* Requirements:
173173
*
174174
* - The target has code (i.e. is a contract).
175-
* - The target `to` must implement the {IERC1363Spender} interface.
175+
* - The target `spender` must implement the {IERC1363Spender} interface.
176176
* - The target must return the {IERC1363Spender-onApprovalReceived} selector to accept the approval.
177177
*/
178178
function _checkOnApprovalReceived(address spender, uint256 value, bytes memory data) private {

0 commit comments

Comments
 (0)