minor fixes

This commit is contained in:
Vaibhav20201 2021-11-16 04:47:55 +05:30
parent 4317afa986
commit 842ef065f0

View File

@ -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);