Browse Source

Better context on _spendAllowance NatSpec (#4568)

Co-authored-by: Francisco <fg@frang.io>
Co-authored-by: Hadrien Croubois <hadrien.croubois@gmail.com>
Ownerless Inc 2 years ago
parent
commit
3bd9ed377e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contracts/token/ERC20/ERC20.sol

+ 1 - 1
contracts/token/ERC20/ERC20.sol

@@ -304,7 +304,7 @@ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
      * Does not update the allowance value in case of infinite allowance.
      * Revert if not enough allowance is available.
      *
-     * Might emit an {Approval} event.
+     * Does not emit an {Approval} event.
      */
     function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
         uint256 currentAllowance = allowance(owner, spender);