Skip to content

Commit

Permalink
fix: fix interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Van0k committed Oct 8, 2024
1 parent a6ad53c commit 9286170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/market/ControllerTimelockV3.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// (c) Gearbox Foundation, 2023.
pragma solidity ^0.8.17;

import {IACL} from "../interfaces/IACL.sol";
import {IACLExt} from "../interfaces/extensions/IACLExt.sol";
import {ACLTrait} from "@gearbox-protocol/core-v3/contracts/traits/ACLTrait.sol";

import {
Expand Down Expand Up @@ -91,7 +91,7 @@ contract ControllerTimelockV3 is ACLTrait, IControllerTimelockV3 {
uint256 len = keys.length;
unchecked {
for (uint256 i; i < len; ++i) {
policies[keys[i]].admin = IACL(_acl).owner();
policies[keys[i]].admin = IACLExt(_acl).getConfigurator();
policies[keys[i]].delay = DEFAULT_DELAY;
_isValidPolicyKey[keys[i]] = true;
}
Expand Down

0 comments on commit 9286170

Please sign in to comment.