Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Feb 25, 2024
1 parent c10cad8 commit ce24aa4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/protocol/contracts/common/EssentialContract.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ abstract contract Essential1StepContract is OwnerUUPSUpgradable, AddressResolver
/// @param _addressManager The address of the address manager.
// solhint-disable-next-line func-name-mixedcase
function __Essential_init(address _addressManager) internal virtual onlyInitializing {
_transferOwnership(msg.sender);
__OwnerUUPSUpgradable_init();
__AddressResolver_init(_addressManager);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/contracts/common/OwnerUUPSUpgradable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ abstract contract OwnerUUPSUpgradable is UUPSUpgradeable, OwnableUpgradeable {
/// @notice Initializes the contract with an address manager.
// solhint-disable-next-line func-name-mixedcase
function __OwnerUUPSUpgradable_init() internal virtual onlyInitializing {
__Ownable_init();
_transferOwnership(msg.sender);
_paused = _FALSE;
}

Expand Down

0 comments on commit ce24aa4

Please sign in to comment.