OpenZeppelin / openzeppelin-contracts-upgradeable

Upgradeable variant of OpenZeppelin Contracts, meant for use in upgradeable contracts.
https://openzeppelin.com/contracts
MIT License
1k stars 436 forks source link

fix: avoid zero-value transfer attack #200

Closed aitimate closed 1 year ago

aitimate commented 1 year ago

As shown in the question

Amxx commented 1 year ago

See https://github.com/OpenZeppelin/openzeppelin-contracts/pull/4285#issuecomment-1567289659