Skip to content

Commit 9969762

Browse files
committed
fix binary search quote
1 parent ca7da18 commit 9969762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/swapService/strategies/strategyCombinedUniswap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ export class StrategyCombinedUniswap {
118118
exactInputQuotes.map(async (exactInputQuote) => {
119119
const uniswapSwapParams = {
120120
...swapParams,
121-
amount: swapParams.amount - BigInt(exactInputQuote.amountOutMin),
121+
amount: swapParams.amount - BigInt(exactInputQuote.amountOut),
122122
receiver: swapParams.from,
123123
}
124124

0 commit comments

Comments
 (0)