clarify _spendAllowance natspec (#3188)

pull/3191/head
Alexander 3 years ago committed by GitHub
parent 4cb0926f11
commit be3c5ca504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contracts/token/ERC20/ERC20.sol
  2. 2
      contracts/token/ERC777/ERC777.sol

@ -320,7 +320,7 @@ contract ERC20 is Context, IERC20, IERC20Metadata {
}
/**
* @dev Spend `amount` form the allowance of `owner` toward `spender`.
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.

@ -502,7 +502,7 @@ contract ERC777 is Context, IERC777, IERC20 {
}
/**
* @dev Spend `amount` form the allowance of `owner` toward `spender`.
* @dev Updates `owner` s allowance for `spender` based on spent `amount`.
*
* Does not update the allowance amount in case of infinite allowance.
* Revert if not enough allowance is available.

Loading…
Cancel
Save