mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
bug resolved
This commit is contained in:
parent
7f46c913d0
commit
48536534b6
|
@ -195,7 +195,7 @@ contract SplitResolver is SplitsRead {
|
|||
} else {
|
||||
ethBought += swapUniswap(ethAddr, daiAddr, amtToSwap);
|
||||
}
|
||||
destAmt = daiToEthLoop(nextSrcAmt, splitAmt, ethBought);
|
||||
destAmt = ethToDaiLoop(nextSrcAmt, splitAmt, ethBought);
|
||||
} else if (srcAmt > 0) {
|
||||
(uint bestExchange,) = getBest(ethAddr, daiAddr, srcAmt);
|
||||
destAmt = finalAmt;
|
||||
|
|
Loading…
Reference in New Issue
Block a user