From 628d3bd64a960ae10840a043bc660ac10ff6bae5 Mon Sep 17 00:00:00 2001 From: poma Date: Fri, 19 Mar 2021 21:52:00 +0300 Subject: [PATCH] add explicit _admin arg --- contracts/AdminUpgradeableProxy.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/AdminUpgradeableProxy.sol b/contracts/AdminUpgradeableProxy.sol index ca1649d..1ea2e76 100644 --- a/contracts/AdminUpgradeableProxy.sol +++ b/contracts/AdminUpgradeableProxy.sol @@ -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.