mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
fixed typo
This commit is contained in:
parent
9a931a4036
commit
eb62198a10
|
@ -131,9 +131,9 @@ contract BasicResolver is AaveHelpers {
|
||||||
|
|
||||||
uint initialBal = token == getEthAddr() ? address(this).balance : TokenInterface(token).balanceOf(address(this));
|
uint initialBal = token == getEthAddr() ? address(this).balance : TokenInterface(token).balanceOf(address(this));
|
||||||
atoken.redeem(_amt);
|
atoken.redeem(_amt);
|
||||||
uint finialBal = token == getEthAddr() ? address(this).balance : TokenInterface(token).balanceOf(address(this));
|
uint finalBal = token == getEthAddr() ? address(this).balance : TokenInterface(token).balanceOf(address(this));
|
||||||
|
|
||||||
_amt = sub(finialBal, initialBal);
|
_amt = sub(finalBal, initialBal);
|
||||||
setUint(setId, _amt);
|
setUint(setId, _amt);
|
||||||
|
|
||||||
emit LogWithdraw(token, _amt, getId, setId);
|
emit LogWithdraw(token, _amt, getId, setId);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user