diff --git a/contracts/src/v0.8/llo-feeds/v0.4.0/DestinationFeeManager.sol b/contracts/src/v0.8/llo-feeds/v0.4.0/DestinationFeeManager.sol index 6b220a51740..c8e0002ac94 100644 --- a/contracts/src/v0.8/llo-feeds/v0.4.0/DestinationFeeManager.sol +++ b/contracts/src/v0.8/llo-feeds/v0.4.0/DestinationFeeManager.sol @@ -540,10 +540,8 @@ contract DestinationFeeManager is IDestinationFeeManager, IDestinationVerifierFe revert InvalidAddress(); } - address linkAddress = i_linkAddress; - - IERC20(linkAddress).approve(address(i_rewardManager), 0); + IERC20(i_linkAddress).approve(address(i_rewardManager), 0); i_rewardManager = IDestinationRewardManager(rewardManagerAddress); - IERC20(linkAddress).approve(address(rewardManagerAddress), type(uint256).max); + IERC20(i_linkAddress).approve(address(rewardManagerAddress), type(uint256).max); } }