mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
small name change
This commit is contained in:
parent
217293cec5
commit
7ad23bf86e
|
@ -34,8 +34,8 @@ contract ImportResolver is DSMath {
|
|||
|
||||
// transfer tokens to InstaDApp smart wallet from user wallet
|
||||
for (uint i = 0; i < tokenAddrArr.length; i++) {
|
||||
address crc20 = tokenAddrArr[i];
|
||||
ERC20Interface tknContract = ERC20Interface(crc20);
|
||||
address erc20 = tokenAddrArr[i];
|
||||
ERC20Interface tknContract = ERC20Interface(erc20);
|
||||
uint tokenBal = tknContract.balanceOf(msg.sender);
|
||||
tokenBal = toConvert < 10**18 ? wmul(tokenBal, toConvert) : tokenBal;
|
||||
if (tokenBal > 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user