Implement extra suggestions from audit review of 4.9 (#4224)

This commit is contained in:
Ernesto García
2023-05-09 18:19:35 +02:00
committed by GitHub
parent 832c352c7d
commit 34d926dd7e
4 changed files with 16 additions and 8 deletions

View File

@ -174,6 +174,8 @@ contract TransparentUpgradeableProxy is ERC1967Proxy {
/**
* @dev Returns the current admin.
*
* CAUTION: This function is deprecated. Use {ERC1967Upgrade-_getAdmin} instead.
*/
function _admin() internal view virtual returns (address) {
return _getAdmin();