Skip to content

Commit 0f7cbc6

Browse files
committed
fix: Update owner retrieval method in RLCAdapter and RLCOFT contracts to use OwnableUpgradeable
1 parent bbcea83 commit 0f7cbc6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/RLCAdapter.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ contract RLCAdapter is OFTAdapterUpgradeable, UUPSUpgradeable, AccessControlDefa
3939
override(OwnableUpgradeable, AccessControlDefaultAdminRulesUpgradeable)
4040
returns (address)
4141
{
42-
return AccessControlDefaultAdminRulesUpgradeable.owner();
42+
return OwnableUpgradeable.owner();
4343
}
4444

4545
function _authorizeUpgrade(address newImplementation) internal virtual override {}

src/RLCOFT.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ contract RLCOFT is OFTUpgradeable, UUPSUpgradeable, AccessControlDefaultAdminRul
5757
override(OwnableUpgradeable, AccessControlDefaultAdminRulesUpgradeable)
5858
returns (address)
5959
{
60-
return AccessControlDefaultAdminRulesUpgradeable.owner();
60+
return OwnableUpgradeable.owner();
6161
}
6262

6363
/**

0 commit comments

Comments
 (0)