From 842ef065f0479a81bfc31c93e9e9cc6c181a29a1 Mon Sep 17 00:00:00 2001 From: Vaibhav20201 Date: Tue, 16 Nov 2021 04:47:55 +0530 Subject: [PATCH] minor fixes --- contracts/avalanche/connectors/benqi/benqi-rewards/main.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/avalanche/connectors/benqi/benqi-rewards/main.sol b/contracts/avalanche/connectors/benqi/benqi-rewards/main.sol index 8743d8ce..b8c4e111 100644 --- a/contracts/avalanche/connectors/benqi/benqi-rewards/main.sol +++ b/contracts/avalanche/connectors/benqi/benqi-rewards/main.sol @@ -117,7 +117,7 @@ abstract contract IncentivesResolver is Events, Helpers { } uint intialBal = address(this).balance; - troller.claimReward(rewardAvax, address(this)); + troller.claimReward(rewardAvax, address(this), qitokens); uint finalBal = address(this).balance; uint amt = sub(finalBal, intialBal); @@ -141,7 +141,7 @@ abstract contract IncentivesResolver is Events, Helpers { holders[0] = address(this); uint intialBal = address(this).balance; - troller.claimReward(rewardAvax, address(this)); + troller.claimReward(rewardAvax, holders, qitokens, isBorrow, isSupply); uint finalBal = address(this).balance; uint amt = sub(finalBal, intialBal);