Skip to content

Commit

Permalink
Update comment to reflect change to tokenReceived method
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskirz authored May 15, 2024
1 parent 7c35af7 commit a85ee15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions token/ERC223/ERC223.sol
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ contract ERC223Token is IERC223 {

/**
* @dev Transfer the specified amount of tokens to the specified address.
* Invokes the `tokenFallback` function if the recipient is a contract.
* Invokes the `tokenReceived` function if the recipient is a contract.
* The token transfer fails if the recipient is a contract
* but does not implement the `tokenFallback` function
* but does not implement the `tokenReceived` function
* or the fallback function to receive funds.
*
* @param _to Receiver address.
Expand Down

0 comments on commit a85ee15

Please sign in to comment.