OpenZeppelin / openzeppelin-contracts

OpenZeppelin Contracts is a library for secure smart contract development.
https://openzeppelin.com/contracts
MIT License
24.98k stars 11.8k forks source link

Update ERC20.sol #5268

Closed XZSt4nce closed 1 month ago

XZSt4nce commented 1 month ago

Fixes #5253 Using optimal comparison operator < instead of != in _spendAllowance function

PR Checklist

changeset-bot[bot] commented 1 month ago

⚠️ No Changeset found

Latest commit: 2d9f747d986ea0f6fd8b6fd90214b4bcbc3e628d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR