mirror of
https://github.com/Instadapp/dsa-resolvers-deprecated.git
synced 2024-07-29 22:38:16 +00:00
fixed bug
This commit is contained in:
parent
e247559374
commit
f09f30a53b
|
|
@ -215,7 +215,7 @@ contract Resolver is OneProtoHelpers {
|
||||||
disableDexes,
|
disableDexes,
|
||||||
destTokenEthPriceTimesGasPrices
|
destTokenEthPriceTimesGasPrices
|
||||||
);
|
);
|
||||||
buyAmt = returnAmounts[len - 1];
|
buyAmt = returnAmounts[len - 2];
|
||||||
unitAmt = getBuyUnitAmt(TokenInterface(tokens[len - 1]), buyAmt, TokenInterface(tokens[0]), sellAmt, slippage);
|
unitAmt = getBuyUnitAmt(TokenInterface(tokens[len - 1]), buyAmt, TokenInterface(tokens[0]), sellAmt, slippage);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user