mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
minor fixes
This commit is contained in:
parent
4317afa986
commit
842ef065f0
|
@ -117,7 +117,7 @@ abstract contract IncentivesResolver is Events, Helpers {
|
||||||
}
|
}
|
||||||
|
|
||||||
uint intialBal = address(this).balance;
|
uint intialBal = address(this).balance;
|
||||||
troller.claimReward(rewardAvax, address(this));
|
troller.claimReward(rewardAvax, address(this), qitokens);
|
||||||
uint finalBal = address(this).balance;
|
uint finalBal = address(this).balance;
|
||||||
uint amt = sub(finalBal, intialBal);
|
uint amt = sub(finalBal, intialBal);
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ abstract contract IncentivesResolver is Events, Helpers {
|
||||||
holders[0] = address(this);
|
holders[0] = address(this);
|
||||||
|
|
||||||
uint intialBal = address(this).balance;
|
uint intialBal = address(this).balance;
|
||||||
troller.claimReward(rewardAvax, address(this));
|
troller.claimReward(rewardAvax, holders, qitokens, isBorrow, isSupply);
|
||||||
uint finalBal = address(this).balance;
|
uint finalBal = address(this).balance;
|
||||||
uint amt = sub(finalBal, intialBal);
|
uint amt = sub(finalBal, intialBal);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user