Browse Source

fixing comment - changing '_to' to '_spender' (#1007)

Rob 7 years ago
parent
commit
ee78f67985
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/token/ERC827/ERC827Token.sol

+ 1 - 1
contracts/token/ERC827/ERC827Token.sol

@@ -26,7 +26,7 @@ contract ERC827Token is ERC827, StandardToken {
    * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
    * @param _spender The address that will spend the funds.
    * @param _value The amount of tokens to be spent.
-   * @param _data ABI-encoded contract call to call `_to` address.
+   * @param _data ABI-encoded contract call to call `_spender` address.
    * @return true if the call function was executed successfully
    */
   function approveAndCall(