add explicit _admin arg

This commit is contained in:
poma 2021-03-19 21:52:00 +03:00
parent b8c403b435
commit 628d3bd64a
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ contract AdminUpgradeableProxy is TransparentUpgradeableProxy {
/**
* @dev Initializes an upgradeable proxy backed by the implementation at `_logic`.
*/
constructor(address _logic, bytes memory _data) public payable TransparentUpgradeableProxy(_logic, msg.sender, _data) {}
constructor(address _logic, address _admin, bytes memory _data) public payable TransparentUpgradeableProxy(_logic, _admin, _data) {}
/**
* @dev Override to allow admin access the fallback function.